Ejemplo n.º 1
0
 internal static Class ForEntityContainer(OdcmModel odcmModel, OdcmClass odcmContainer)
 {
     return(new Class
     {
         AccessModifier = "public ",
         Constructors = global::CSharpWriter.Constructors.ForEntityContainer(odcmContainer),
         Fields = global::CSharpWriter.Fields.ForEntityContainer(odcmContainer),
         Interfaces = global::CSharpWriter.Interfaces.ForEntityContainer(odcmContainer),
         Identifier = NamesService.GetEntityContainerTypeName(odcmContainer),
         NestedClasses = new[] { ForGeneratedEdmModel(odcmModel) },
         Methods = global::CSharpWriter.Methods.ForEntityContainer(odcmContainer),
         Properties = global::CSharpWriter.Properties.ForEntityContainer(odcmContainer)
     });
 }