DbParameter.SourceColumn Свойство
Определение
public:
abstract property System::String ^ SourceColumn { System::String ^ get(); void set(System::String ^ value); };
public abstract string SourceColumn { get; set; }
member this.SourceColumn : string with get, set
Public MustOverride Property SourceColumn As String
Значение свойства
Имя исходного столбца, сопоставленного DataSet.The name of the source column mapped to the DataSet. Значение по умолчанию - пустая строка.The default is an empty string.
Реализации
Комментарии
Если SourceColumn параметр имеет значение, отличное от пустой строки, значение параметра извлекается из столбца с SourceColumn именем.When SourceColumn is set to anything other than an empty string, the value of the parameter is retrieved from the column with the SourceColumn name. Если параметр Direction имеет значение Input
, значение берется из DataSet .If Direction is set to Input
, the value is taken from the DataSet. Если параметр Direction имеет значение Output
, значение берется из источника данных.If Direction is set to Output
, the value is taken from the data source. Объект Direction из InputOutput
является сочетанием обоих типов.A Direction of InputOutput
is a combination of both.
Дополнительные сведения об использовании SourceColumn свойства см. в разделе Параметры DataAdapter и Обновление источников данных с помощью адаптеров.For more information about how to use the SourceColumn property, see DataAdapter Parameters and Updating Data Sources with DataAdapters.