コード例 #1
0
 internal static void AddRule(CommandProcessorContext cpc, ConceptualEntityType element)
 {
     if (element != null)
     {
         IIntegrityCheck check = new PropagateViewKeysToStorageModel(cpc, element);
         cpc.AddIntegrityCheck(check);
     }
 }
コード例 #2
0
 internal static void AddRule(CommandProcessorContext cpc, IEnumerable <ConceptualEntityType> elements)
 {
     if (elements != null)
     {
         IIntegrityCheck check = new PropagateViewKeysToStorageModel(cpc, elements);
         cpc.AddIntegrityCheck(check);
     }
 }