public static void SetModel(DefaultReferenceModeNaming element, MappingCustomizationModel newModel) { DslModeling::DomainRoleInfo.SetLinkedElement(element, DefaultReferenceModeNamingDomainRoleId, newModel); }
public static MappingCustomizationModel GetModel(DefaultReferenceModeNaming element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, DefaultReferenceModeNamingDomainRoleId) as MappingCustomizationModel; }
/// <summary> /// Constructor /// Creates a MappingCustomizationModelHasDefaultReferenceModeNaming 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">DefaultReferenceModeNaming to use as the target of the relationship.</param> public MappingCustomizationModelHasDefaultReferenceModeNaming(MappingCustomizationModel source, DefaultReferenceModeNaming target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(MappingCustomizationModelHasDefaultReferenceModeNaming.ModelDomainRoleId, source), new DslModeling::RoleAssignment(MappingCustomizationModelHasDefaultReferenceModeNaming.DefaultReferenceModeNamingDomainRoleId, target)}, null) { }
public static void SetORMModel(DefaultReferenceModeNaming element, global::ORMSolutions.ORMArchitect.Core.ObjectModel.ORMModel newORMModel) { DslModeling::DomainRoleInfo.SetLinkedElement(element, DefaultReferenceModeNamingDomainRoleId, newORMModel); }
public static global::ORMSolutions.ORMArchitect.Core.ObjectModel.ORMModel GetORMModel(DefaultReferenceModeNaming element) { return DslModeling::DomainRoleInfo.GetLinkedElement(element, DefaultReferenceModeNamingDomainRoleId) as global::ORMSolutions.ORMArchitect.Core.ObjectModel.ORMModel; }
/// <summary> /// Constructor /// Creates a DefaultReferenceModeNamingCustomizesORMModel link in the same Partition as the given DefaultReferenceModeNaming /// </summary> /// <param name="source">DefaultReferenceModeNaming to use as the source of the relationship.</param> /// <param name="target">ORMModel to use as the target of the relationship.</param> public DefaultReferenceModeNamingCustomizesORMModel(DefaultReferenceModeNaming source, global::ORMSolutions.ORMArchitect.Core.ObjectModel.ORMModel target) : base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[]{new DslModeling::RoleAssignment(DefaultReferenceModeNamingCustomizesORMModel.DefaultReferenceModeNamingDomainRoleId, source), new DslModeling::RoleAssignment(DefaultReferenceModeNamingCustomizesORMModel.ORMModelDomainRoleId, target)}, null) { }