public static IReadOnlyEntityType?FindEntityType( [NotNull] this IReadOnlyModel model, [NotNull] Type type, [NotNull] string definingNavigationName, [NotNull] IReadOnlyEntityType definingEntityType) { Check.NotNull(model, nameof(model)); Check.NotNull(type, nameof(type)); Check.NotNull(definingNavigationName, nameof(definingNavigationName)); Check.NotNull(definingEntityType, nameof(definingEntityType)); return(((Model)model).FindEntityType( type, definingNavigationName, definingEntityType.AsEntityType())); }
public static IEnumerable <IReadOnlyForeignKey> GetDerivedForeignKeys([NotNull] this IReadOnlyEntityType entityType) => entityType.AsEntityType().GetDerivedForeignKeys();
public static IEnumerable <IReadOnlyServiceProperty> GetDeclaredServiceProperties([NotNull] this IReadOnlyEntityType entityType) => entityType.AsEntityType().GetDeclaredServiceProperties();
public static IEnumerable <IReadOnlyKey> GetDeclaredKeys([NotNull] this IReadOnlyEntityType entityType) => entityType.AsEntityType().GetDeclaredKeys();