TransparentIdentifierFactory.Create(Type, Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为给定类型创建新的透明标识符类型。
[System.Diagnostics.CodeAnalysis.DynamicDependency(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All, typeof(Microsoft.EntityFrameworkCore.Query.TransparentIdentifierFactory+TransparentIdentifier<,>))]
public static Type Create(Type outerType, Type innerType);
public static Type Create(Type outerType, Type innerType);
[<System.Diagnostics.CodeAnalysis.DynamicDependency(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All, typeof(Microsoft.EntityFrameworkCore.Query.TransparentIdentifierFactory+TransparentIdentifier<,>))>]
static member Create : Type * Type -> Type
static member Create : Type * Type -> Type
Public Shared Function Create (outerType As Type, innerType As Type) As Type
参数
- outerType
- Type
透明标识符的外部类型。
- innerType
- Type
透明标识符的内部类型。
返回
创建的透明标识符类型。
- 特性