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.

22 lines
664 B

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 });
}
}
}