Exemplo n.º 1
0
 /// <summary>
 /// Methode d'extensibilité possible pour les constructeurs par recopie.
 /// </summary>
 /// <param name="bean">Source.</param>
 partial void OnCreated(RuleFilterDefinition bean);
Exemplo n.º 2
0
 public void UpdateFilter(RuleFilterDefinition ruleFilterDefinition)
 {
     Debug.Assert(ruleFilterDefinition.Id != null);
     BrokerManager.GetBroker <RuleFilterDefinition>().Save(ruleFilterDefinition);
 }
Exemplo n.º 3
0
 public void AddFilter(RuleFilterDefinition ruleFilterDefinition)
 {
     Debug.Assert(ruleFilterDefinition.Id == null);
     ruleFilterDefinition.Id = (int)BrokerManager.GetBroker <RuleFilterDefinition>().Save(ruleFilterDefinition);
 }
Exemplo n.º 4
0
 public void RemoveFilter(RuleFilterDefinition ruleFilterDefinition)
 {
     Debug.Assert(ruleFilterDefinition.Id != null);
     BrokerManager.GetBroker <RuleFilterDefinition>().Delete(ruleFilterDefinition.Id.Value);
 }