RuntimeRelationalPropertyOverrides 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
RuntimeRelationalPropertyOverrides(RuntimeProperty, Boolean, String)
初始化 RuntimeRelationalPropertyOverrides 类的新实例。
public RuntimeRelationalPropertyOverrides (Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty property, bool columnNameOverriden, string? columnName);
new Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides : Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty * bool * string -> Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides
Public Sub New (property As RuntimeProperty, columnNameOverriden As Boolean, columnName As String)
参数
- property
- RuntimeProperty
应用替代的属性。
- columnNameOverriden
- Boolean
是否重写列名。
- columnName
- String
列名称。
适用于
RuntimeRelationalPropertyOverrides(RuntimeProperty, StoreObjectIdentifier, Boolean, String)
初始化 RuntimeRelationalPropertyOverrides 类的新实例。
public RuntimeRelationalPropertyOverrides (Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty property, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool columnNameOverridden, string? columnName);
new Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides : Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty * StoreObjectIdentifier * bool * string -> Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides
Public Sub New (property As RuntimeProperty, ByRef storeObject As StoreObjectIdentifier, columnNameOverridden As Boolean, columnName As String)
参数
- property
- RuntimeProperty
应用替代的属性。
- storeObject
- StoreObjectIdentifier
为其应用配置的存储对象。
- columnNameOverridden
- Boolean
是否重写列名。
- columnName
- String
列名称。