Example #1
0
        public virtual IEdmModel GetEdmModel()
        {
            IEdmModel model = EdmModelHelperMethods.BuildEdmModel(this);

            ValidateModel(model);
            return(model);
        }
 public static IEdmModel GetServiceModel(this ODataModelBuilder builder)
 {
     return(EdmModelHelperMethods.BuildEdmModel(builder));
 }
Example #3
0
 public static IEdmModel GetServiceModel(this ODataModelBuilder builder)
 {
     return(EdmModelHelperMethods.BuildEdmModel("Default", "Container", builder.StructuralTypes, builder.EntitySets));
 }