예제 #1
0
 /// <summary>
 /// 表说明
 /// </summary>
 /// <typeparam name="TEntity"></typeparam>
 /// <typeparam name="TDependentEntity"></typeparam>
 /// <param name="ownedNavigationBuilder"></param>
 /// <param name="description"></param>
 /// <returns></returns>
 public static OwnedNavigationBuilder <TEntity, TDependentEntity> HasDescription <TEntity, TDependentEntity>([NotNull] this OwnedNavigationBuilder <TEntity, TDependentEntity> ownedNavigationBuilder, [NotNull] string description) where TEntity : class where TDependentEntity : class
 {
     return(ownedNavigationBuilder.HasAnnotation(ModelBuilderExtension.DbDescriptionAnnotationName, description));
 }