public LeadTargetTable() { this.Table = new DataTable("LeadTargetTable"); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <long>("LocalId", true)); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <int>("TargetTypeId", true)); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <long>("InnerId", true)); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <string>("OuterId", true)); }
public KeyValueStorage() { this.Table = new DataTable("KeyValueStorage"); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <string>("ItemKey", false)); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <long>("LongValue", true)); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <string>("StringValue", true)); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <bool>("BoolValue", true)); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <DateTime>("DateTimeValue", true)); this.Table.Columns.Add(DataTableWrapper.GetDataColumn <decimal>("DecimalValue", true)); }