You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1000 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FireBirdUtil.DataTypes;
using FireBirdUtil.SqlHelpers;
namespace WeighBusiness.BO.CreateTables
{
public class CreateProductBatchTable : CreateBaseTable
{
public CreateProductBatchTable(string tableName) : base(tableName) { }
public override void AddFields(CreateTableHelper cth)
{
cth.AddField(new FieldInfo() { FieldName = "Batch_ID", FieldType = FBType.Integer, IsNotNull = true });
cth.AddField(new FieldInfo() { FieldName = "Batch", FieldType = FBType.Varchar, FieldTypeParams = "(100)", IsNotNull = true });
cth.AddField(new FieldInfo() { FieldName = "BillDate", FieldType = FBType.Timestamp, IsNotNull = true });
cth.AddField(new FieldInfo() { FieldName = "RowVersion", FieldType = FBType.Integer });
cth.AddField(new FieldInfo() { FieldName = "ProductPlan_ID", FieldType = FBType.Integer, IsNotNull = true });
base.AddFields(cth);
}
}
}