CoreStrings.InvalidSetTypeOwned Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for