示例#1
0
 public static CompositeModelBuilder AddModel(this CompositeModelBuilder compositeBuilder, IEntityModel entityModel)
 {
     compositeBuilder.Add(entityModel);
     return(compositeBuilder);
 }
示例#2
0
 public static CompositeModelBuilder AddModelRange(this CompositeModelBuilder compositeBuilder, IEnumerable <IEntityModel> newModels)
 {
     compositeBuilder.AddRange(newModels);
     return(compositeBuilder);
 }