public BusinessRecord(string name, int capacity) : base(name, null) { this._items = new List <BusinessData>(capacity); _isDeleted = BusinessItemFactory.Create("IsDeleted", false, PermissionFeature.Sound, this); this.IsAttribute = false; }
protected BusinessItem <T> CreateItem <T>(string name, T value, PermissionFeature permission) { return(BusinessItemFactory.Create(name, value, permission, _parent)); }
private void Initialize(DateTime?valueTime, bool isValued) { _valueTime = BusinessItemFactory.Create("ValueTime", valueTime, PermissionFeature.Sound, this); _isValued = BusinessItemFactory.Create("IsValued", isValued, PermissionFeature.Sound, this); }
protected BusinessItem <T> CreateBusinessItem <T>(string name, T value, PermissionFeature feature = PermissionFeature.ReadOnly) { return(BusinessItemFactory.Create(name, value, feature, this)); }