예제 #1
0
        private IEdmModel Build(BoundedContextElement context)
        {
            if (context.ConceptualModel == null)
            {
                throw new InvalidOperationException("The conceptual model is not specified.");
            }

            return(BuildModel(context.ResolveFullName(), context.ConceptualModel));
        }
예제 #2
0
        private IEdmModel Build(BoundedContextElement context)
        {
            if (context.ConceptualModel == null)
            {
                throw new InvalidOperationException("The conceptual model is not specified.");
            }

            return BuildModel(context.ResolveFullName(), context.ConceptualModel);
        }
예제 #3
0
        private static IEdmModel Build(BoundedContextElement context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            if (context.ConceptualModel == null)
            {
                throw new InvalidOperationException("The conceptual model is not specified.");
            }

            return BuildModel(context.ResolveFullName(), context.ConceptualModel.RootEntities);
        }
예제 #4
0
        private static IEdmModel Build(BoundedContextElement context)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            if (context.ConceptualModel == null)
            {
                throw new InvalidOperationException("The conceptual model is not specified.");
            }

            return(BuildModel(context.ResolveFullName(), context.ConceptualModel.RootEntities));
        }