CoreStrings.InvalidSetTypeOwned Method

Definition

Overloads

InvalidSetTypeOwned(Object, Object)

Cannot create a DbSet for '{typeName}' because it is configured as an owned entity type and must be accessed through its owning entity type '{ownerType}'. See https://aka.ms/efcore-docs-owned for more information.

InvalidSetTypeOwned(Object)

Cannot create a DbSet for '{typeName}' because it is configured as an owned entity type and must be accessed through its owning entity type.

InvalidSetTypeOwned(Object, Object)

Cannot create a DbSet for '{typeName}' because it is configured as an owned entity type and must be accessed through its owning entity type '{ownerType}'. See https://aka.ms/efcore-docs-owned for more information.

public static string InvalidSetTypeOwned (object? typeName, object? ownerType);
static member InvalidSetTypeOwned : obj * obj -> string
Public Shared Function InvalidSetTypeOwned (typeName As Object, ownerType As Object) As String

Parameters

typeName
Object
ownerType
Object

Returns

Applies to

InvalidSetTypeOwned(Object)

Cannot create a DbSet for '{typeName}' because it is configured as an owned entity type and must be accessed through its owning entity type.

public static string InvalidSetTypeOwned (object typeName);
static member InvalidSetTypeOwned : obj -> string
Public Shared Function InvalidSetTypeOwned (typeName As Object) As String

Parameters

typeName
Object

Returns

Applies to