예제 #1
0
        public DataElement(string name)
        {
            if (name.IndexOf('.') > -1)
            {
                throw new PeachException("Error, DataElements cannot contain a period in their name. \"" + name + "\"");
            }

            _relations = new RelationContainer(this);
            _name      = name;
        }
예제 #2
0
 public DataElement()
 {
     _relations = new RelationContainer(this);
     _name      = "DataElement_" + _uniqueName;
     _uniqueName++;
 }