Exemple #1
0
 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));
 }
Exemple #3
0
 private void Initialize(DateTime?valueTime, bool isValued)
 {
     _valueTime = BusinessItemFactory.Create("ValueTime", valueTime, PermissionFeature.Sound, this);
     _isValued  = BusinessItemFactory.Create("IsValued", isValued, PermissionFeature.Sound, this);
 }
Exemple #4
0
 protected BusinessItem <T> CreateBusinessItem <T>(string name, T value, PermissionFeature feature = PermissionFeature.ReadOnly)
 {
     return(BusinessItemFactory.Create(name, value, feature, this));
 }