Beispiel #1
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public static MongoDbModelAnnotations MongoDb([NotNull] this IModel model)
 => MongoDb(Check.Is <IMutableModel>(model, nameof(model)));
Beispiel #2
0
 /// <summary>
 ///     This API supports the Entity Framework Core infrastructure and is not intended to be used
 ///     directly from your code. This API may change or be removed in future releases.
 /// </summary>
 public static MongoDbEntityTypeAnnotations MongoDb([NotNull] this IEntityType entityType)
 => MongoDb(Check.Is <IMutableEntityType>(entityType, nameof(entityType)));