internal static void AddRule(CommandProcessorContext cpc, ConceptualEntityType element) { if (element != null) { IIntegrityCheck check = new PropagateViewKeysToStorageModel(cpc, element); cpc.AddIntegrityCheck(check); } }
internal static void AddRule(CommandProcessorContext cpc, IEnumerable <ConceptualEntityType> elements) { if (elements != null) { IIntegrityCheck check = new PropagateViewKeysToStorageModel(cpc, elements); cpc.AddIntegrityCheck(check); } }