public static MappingCustomizationModel GetModel(ReferenceModeNaming element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, ReferenceModeNamingDomainRoleId) as MappingCustomizationModel; }
public static void SetModel(ReferenceModeNaming element, MappingCustomizationModel newModel) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ReferenceModeNamingDomainRoleId, newModel); }
/// <summary> /// Constructor /// Creates a MappingCustomizationModelHasReferenceModeNaming link in the same Partition as the given MappingCustomizationModel /// </summary> /// <param name="source">MappingCustomizationModel to use as the source of the relationship.</param> /// <param name="target">ReferenceModeNaming to use as the target of the relationship.</param> public MappingCustomizationModelHasReferenceModeNaming(MappingCustomizationModel source, ReferenceModeNaming target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(MappingCustomizationModelHasReferenceModeNaming.ModelDomainRoleId, source), new DslModeling::RoleAssignment(MappingCustomizationModelHasReferenceModeNaming.ReferenceModeNamingDomainRoleId, target)}, null) { }
public static void SetObjectType(ReferenceModeNaming element, global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType newObjectType) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ReferenceModeNamingDomainRoleId, newObjectType); }
public static global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType GetObjectType(ReferenceModeNaming element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, ReferenceModeNamingDomainRoleId) as global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType; }
public static void SetReferenceModeNaming(global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType element, ReferenceModeNaming newReferenceModeNaming) { DslModeling::DomainRoleInfo.SetLinkedElement(element, ObjectTypeDomainRoleId, newReferenceModeNaming); }
/// <summary> /// Constructor /// Creates a ReferenceModeNamingCustomizesObjectType link in the same Partition as the given ReferenceModeNaming /// </summary> /// <param name="source">ReferenceModeNaming to use as the source of the relationship.</param> /// <param name="target">ObjectType to use as the target of the relationship.</param> public ReferenceModeNamingCustomizesObjectType(ReferenceModeNaming source, global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(ReferenceModeNamingCustomizesObjectType.ReferenceModeNamingDomainRoleId, source), new DslModeling::RoleAssignment(ReferenceModeNamingCustomizesObjectType.ObjectTypeDomainRoleId, target)}, null) { }