public static Association GetFreshAssociation(this EFArtifact artifact, string associationTypeName) { Debug.Assert(artifact != null, "artifact != null"); Debug.Assert(!string.IsNullOrWhiteSpace(associationTypeName), "!string.IsNullOrWhiteSpace(associationTypeName)"); return(artifact.GetConceptualChildByName <Association>(associationTypeName)); }
public static ConceptualEntityType GetFreshConceptualEntity(this EFArtifact artifact, string entityTypeName) { Debug.Assert(artifact != null, "artifact != null"); Debug.Assert(!string.IsNullOrWhiteSpace(entityTypeName), "!string.IsNullOrWhiteSpace(entityTypeName)"); return(artifact.GetConceptualChildByName <ConceptualEntityType>(entityTypeName)); }