次の方法で共有


RelationalStrings.OptionalDependentWithDependentWithoutIdentifyingProperty メソッド

定義

エンティティ型 '{entityType}' は、エンティティが存在するかどうかを識別するために必要な非共有プロパティなしで、テーブル共有を使用し、他の依存を含むオプションの依存です。 If all nullable properties contain a null value in database then an object instance won't be created in the query causing nested dependent's values to be lost. (データベースですべての Null 許容プロパティに null 値が含まれている場合、クエリでオブジェクト インスタンスが作成されないため、入れ子になった依存の値は失われてしまいます。) 他のプロパティ用に null 値を含むインスタンスを作成するために必要なプロパティを追加するか、常にインスタンスが作成されるように受信ナビゲーションを必須としてマークします。

public static string OptionalDependentWithDependentWithoutIdentifyingProperty (object? entityType);
static member OptionalDependentWithDependentWithoutIdentifyingProperty : obj -> string
Public Shared Function OptionalDependentWithDependentWithoutIdentifyingProperty (entityType As Object) As String

パラメーター

entityType
Object

戻り値

適用対象