using System; using System.Collections.Generic; using System.Linq; using System.Text; using FireBirdUtil.DataTypes; using FireBirdUtil.SqlHelpers; using WeighBusiness.Utils; namespace WeighBusiness.BO.CreateTables { public abstract class CreateBaseTable : CreateTable { public CreateBaseTable(string tableName) : base(TableNames.数据库, tableName) { } public CreateBaseTable(string database, string tableName) : base(database, tableName) { } public override void AddFields(CreateTableHelper cth) { cth.AddField(new FieldInfo() { FieldName = "ID", FieldType = FBType.Integer, IsKey = true, IsAutoIncrease = true, IsNotNull = true }); } } }