Пример #1
0
        private void NewCollection(CslaObjectType type, string name, string item, string parent)
        {
            CslaObjectInfo obj = new CslaObjectInfo(_currentUnit);

            obj.ObjectType = type;
            obj.ObjectName = ParseObjectName(name);
            obj.ParentType = parent;
            obj.ItemType   = item;
            _currentUnit.CslaObjects.Add(obj);
            _currentFactory.AddDefaultCriteriaAndParameters(obj);
        }