public ColumnInfo(BuiltInParameter parameterId, DataType dataType) : this() { this.BuiltInParameter = parameterId; this.DataType = dataType; this.ColumnId = RDBResource.GetColumnId(parameterId); this.Name = RDBResource.GetColumnName(parameterId); if (Command.ConfigFile.DebugSQL) { Log.WriteLine("\t\tName [{0}]", new object[] { this.Name }); } }
public TableInfo With(Action <TableInfo, string, string, string, string> wfunction, string refTableId1, string refColumnId1, string refTableId2, BuiltInParameter refColumnId2) { wfunction(this, refTableId1, refColumnId1, refTableId2, RDBResource.GetColumnId(refColumnId2)); return(this); }
public TableInfo WithForeignKey(string columnId, string refTableId, BuiltInParameter refColumnId) { return(this.WithForeignKey(columnId, refTableId, RDBResource.GetColumnId(refColumnId))); }
public TableInfo WithPrimaryKey(BuiltInParameter parameterId) { return(this.WithPrimaryKey(RDBResource.GetColumnId(parameterId))); }