Exemplo n.º 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));
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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));
        }