Esempio n. 1
0
 /// <summary>
 /// Set values of attribute, when given a column
 /// </summary>
 /// <param name="newColumn">Column to take values from</param>
 private void SetValues(Column newColumn)
 {
     DataType           = SQLtoSSIS[newColumn.DataType];
     CharacterMaxLength = newColumn.CharacterMaxLength;
     Precision          = newColumn.Precision;
     Scale = newColumn.Scale;
 }
 public void SetDataTypeProperties(Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType eDataType, int lLength, int lPrecision, int lScale, int lCodePage)
 {
     LocalDataType  = eDataType;
     LocalLength    = lLength;
     LocalPrecision = lPrecision;
     LocalScale     = lScale;
     LocalCodePage  = lCodePage;
 }
Esempio n. 3
0
 public Attribute(int id, string name, DataType dataType, IDTSObject100 attributeRef)
 {
     Id       = id;
     _name    = name;
     DataType = dataType;
     //this.dataType = SSIStoSQL[dataType];
     AttributeRef = attributeRef;
 }
Esempio n. 4
0
 public Attribute(int id, string name, DataType dataType, IDTSObject100 attributeRef, string sourceDatabase, string sourceTable)
 {
     Id             = id;
     _name          = name;
     DataType       = dataType;
     AttributeRef   = attributeRef;
     SourceDatabase = sourceDatabase;
     SourceTable    = sourceTable;
 }
Esempio n. 5
0
 public void SetDataTypeProperties(Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType eDataType, int lLength, int lPrecision, int lScale, int lCodePage)
 {
     throw new NotImplementedException();
 }