EntityParameter Класс
Определение
Представляет параметр, используемый в EntityCommand.Represents a parameter used in EntityCommand.
public ref class EntityParameter sealed : System::Data::Common::DbParameter
public sealed class EntityParameter : System.Data.Common.DbParameter
type EntityParameter = class
inherit DbParameter
interface IDbDataParameter
interface IDataParameter
Public NotInheritable Class EntityParameter
Inherits DbParameter
- Наследование
- Реализации
Конструкторы
EntityParameter() |
Инициализирует новый экземпляр класса EntityParameter со значениями по умолчанию.Initializes a new instance of the EntityParameter class using the default values. |
EntityParameter(String, DbType) |
Инициализирует новый экземпляр класса EntityParameter с использованием указанного имени параметра и типа данных.Initializes a new instance of the EntityParameter class using the specified parameter name and data type. |
EntityParameter(String, DbType, Int32) |
Инициализирует новый экземпляр класса EntityParameter с использованием указанного имени параметра, типа данных и размера.Initializes a new instance of the EntityParameter class using the specified parameter name, data type and size. |
EntityParameter(String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) |
Инициализирует новый экземпляр класса EntityParameter с помощью заданных свойств.Initializes a new instance of the EntityParameter class using the specified properties. |
EntityParameter(String, DbType, Int32, String) |
Инициализирует новый экземпляр класса EntityParameter с помощью заданных свойств.Initializes a new instance of the EntityParameter class using the specified properties. |
Свойства
DbType |
Возвращает или устанавливает тип DbType параметра.Gets or sets the DbType of the parameter. |
Direction |
Получает или задает направление параметра.Gets or sets the direction of the parameter. |
EdmType |
Получает или задает тип параметра в виде EdmType.Gets or sets the type of the parameter, expressed as an EdmType. |
IsNullable |
Возвращает или задает значение, указывающее, принимает ли этот параметр значения NULL.Gets or sets a value that indicates whether the parameter accepts null values. |
ParameterName |
Получает или задает имя параметра сущности.Gets or sets the name of the entity parameter. |
Precision |
Возвращает или задает количество знаков, используемых для представления свойства Value.Gets or sets the number of digits used to represent the Value property. |
Scale |
Возвращает или задает число десятичных разрядов, до которых вычисляется значение Value.Gets or sets the number of decimal places to which Value is resolved. |
Size |
Возвращает или задает максимальный размер данных в столбце.Gets or sets the maximum size of the data within the column. |
SourceColumn |
Возвращает или задает имя исходного столбца, сопоставленного DataSet и используемого для загрузки или возвращения значения Value.Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value. |
SourceColumnNullMapping |
Получает или задает значение, указывающее, поддерживает ли исходный столбец значение NULL.Gets or sets a value that indicates whether source column is nullable. |
SourceVersion |
Получает или задает объект DataRowVersion, используемый при загрузке значения.Gets or sets the DataRowVersion to use when loading the value. |
Value |
Возвращает или задает значение параметра.Gets or sets the value of the parameter. |
Методы
CreateObjRef(Type) |
Создает объект, который содержит всю необходимую информацию для создания прокси-сервера, используемого для взаимодействия с удаленным объектом.Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Унаследовано от MarshalByRefObject) |
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetHashCode() |
Служит хэш-функцией по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetLifetimeService() |
Извлекает объект обслуживания во время существования, который управляет политикой времени существования данного экземпляра.Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Унаследовано от MarshalByRefObject) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
InitializeLifetimeService() |
Получает объект службы времени существования для управления политикой времени существования для этого экземпляра.Obtains a lifetime service object to control the lifetime policy for this instance. (Унаследовано от MarshalByRefObject) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
MemberwiseClone(Boolean) |
Создает неполную копию текущего объекта MarshalByRefObject.Creates a shallow copy of the current MarshalByRefObject object. (Унаследовано от MarshalByRefObject) |
ResetDbType() |
Сбрасывает тип, связанный с EntityParameter.Resets the type associated with the EntityParameter. |
ToString() |
Возвращает строковое представление параметра.Returns a string representation of the parameter. |
Явные реализации интерфейса
IDataParameter.SourceVersion |
Возвращает или задает значение DataRowVersion при загрузке Value.Gets or sets the DataRowVersion to use when loading Value. (Унаследовано от DbParameter) |
IDbDataParameter.Precision |
Указывает точность числовых параметров.Indicates the precision of numeric parameters. (Унаследовано от DbParameter) |
IDbDataParameter.Scale |
Описание этого члена см. в разделе Scale.For a description of this member, see Scale. (Унаследовано от DbParameter) |