Пример #1
0
 internal static void AddRule(CommandProcessorContext cpc, EFArtifact artifact, bool propagateNoneSGP)
 {
     if (null != artifact)
     {
         IIntegrityCheck check = new PropagateStoreGeneratedPatternToStorageModel(cpc, artifact, propagateNoneSGP);
         cpc.AddIntegrityCheck(check);
     }
 }
Пример #2
0
 // add one PropagateConceptualSGPToStorageProperty for each StorageProperty mapped to this ConceptualProperty
 internal static void AddRule(CommandProcessorContext cpc, ConceptualProperty cProp, bool propagateNoneSGP)
 {
     if (null != cProp)
     {
         foreach (var sProp in MappedStorageProperties(cProp))
         {
             IIntegrityCheck check = new PropagateStoreGeneratedPatternToStorageModel(cpc, sProp, propagateNoneSGP);
             cpc.AddIntegrityCheck(check);
         }
     }
 }
 // add one PropagateConceptualSGPToStorageProperty for each StorageProperty mapped to this ConceptualProperty
 internal static void AddRule(CommandProcessorContext cpc, ConceptualProperty cProp, bool propagateNoneSGP)
 {
     if (null != cProp)
     {
         foreach (var sProp in MappedStorageProperties(cProp))
         {
             IIntegrityCheck check = new PropagateStoreGeneratedPatternToStorageModel(cpc, sProp, propagateNoneSGP);
             cpc.AddIntegrityCheck(check);
         }
     }
 }
 internal static void AddRule(CommandProcessorContext cpc, EFArtifact artifact, bool propagateNoneSGP)
 {
     if (null != artifact)
     {
         IIntegrityCheck check = new PropagateStoreGeneratedPatternToStorageModel(cpc, artifact, propagateNoneSGP);
         cpc.AddIntegrityCheck(check);
     }
 }