Beispiel #1
0
 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
         });
     }
 }
Beispiel #2
0
 public ColumnInfo(string columnId, DataType dataType) : this()
 {
     this.ColumnId         = columnId;
     this.DataType         = dataType;
     this.BuiltInParameter = (BuiltInParameter)(-1);
     if (Command.ConfigFile.DebugSQL)
     {
         Log.WriteLine("\tColumnInfo ctor [{0}] {1}", new object[]
         {
             this.ColumnId,
             dataType
         });
     }
     this.Name = RDBResource.GetColumnName(this.ColumnId);
     if (Command.ConfigFile.DebugSQL)
     {
         Log.WriteLine("\t\tName [{0}]", new object[]
         {
             this.Name
         });
     }
 }
Beispiel #3
0
 protected static string ColumnRes(BuiltInParameter key)
 {
     return(RDBResource.GetColumnName(key));
 }
Beispiel #4
0
 protected static string ColumnRes(string key)
 {
     return(RDBResource.GetColumnName(key));
 }