public static OuterEntityCollection FromSchemaObjects(DESchemaObjectCollection schemaObjectCollection) { schemaObjectCollection.NullCheck <ArgumentNullException>("schemaObjectCollection"); var result = new OuterEntityCollection(); schemaObjectCollection.ForEach(p => result.Add((OuterEntity)p)); return(result); }
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); }
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; }