/// <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; }
public Attribute(int id, string name, DataType dataType, IDTSObject100 attributeRef) { Id = id; _name = name; DataType = dataType; //this.dataType = SSIStoSQL[dataType]; AttributeRef = attributeRef; }
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; }
public void SetDataTypeProperties(Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType eDataType, int lLength, int lPrecision, int lScale, int lCodePage) { throw new NotImplementedException(); }