예제 #1
0
        public static OuterEntityCollection FromSchemaObjects(DESchemaObjectCollection schemaObjectCollection)
        {
            schemaObjectCollection.NullCheck <ArgumentNullException>("schemaObjectCollection");

            var result = new OuterEntityCollection();

            schemaObjectCollection.ForEach(p => result.Add((OuterEntity)p));

            return(result);
        }
예제 #2
0
        public static DynamicEntityFieldCollection FromSchemaObjects(DESchemaObjectCollection schemaObjectCollection)
        {
            schemaObjectCollection.NullCheck <ArgumentNullException>("schemaObjectCollection");

            var temp = new DynamicEntityFieldCollection();

            schemaObjectCollection.ForEach(p => temp.Add((DynamicEntityField)p));

            var result = new DynamicEntityFieldCollection();

            result.CopyFrom(temp.OrderBy(p => p.SortNo));

            return(result);
        }
예제 #3
0
        public DEMemberCollectionRelativeExecutorBase(DEOperationType opType, DEBase container, DESchemaObjectCollection members)
            : base(opType, container)
        {
            container.NullCheck("container");
            container.ClearRelativeData();

            members.NullCheck("members");
            members.ForEach(p => p.ClearRelativeData());

            this._Container = container;
            this._Members   = members;

            this.SaveMemberData = true;
        }