예제 #1
0
        public void LoadFromConfiguration(ObjectSchemaOperationElementCollection elements)
        {
            this.Clear();

            if (elements != null)
            {
                foreach (ObjectSchemaOperationElement opElem in elements)
                {
                    this.Add(new SchemaOperationDefine(opElem));
                }
            }
        }
예제 #2
0
 /// <summary>
 /// 从配置信息中初始化
 /// </summary>
 /// <param name="elements"></param>
 public SchemaOperationDefineCollection(ObjectSchemaOperationElementCollection elements)
 {
     this.LoadFromConfiguration(elements);
 }