Example #1
0
		public static MappingCustomizationModel GetModel(ReferenceModeNaming element)
		{
			return DslModeling::DomainRoleInfo.GetLinkedElement(element, ReferenceModeNamingDomainRoleId) as MappingCustomizationModel;
		}
Example #2
0
		public static void SetModel(ReferenceModeNaming element, MappingCustomizationModel newModel)
		{
			DslModeling::DomainRoleInfo.SetLinkedElement(element, ReferenceModeNamingDomainRoleId, newModel);
		}
Example #3
0
		/// <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)
		{
		}
Example #4
0
		public static void SetObjectType(ReferenceModeNaming element, global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType newObjectType)
		{
			DslModeling::DomainRoleInfo.SetLinkedElement(element, ReferenceModeNamingDomainRoleId, newObjectType);
		}
Example #5
0
		public static global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType GetObjectType(ReferenceModeNaming element)
		{
			return DslModeling::DomainRoleInfo.GetLinkedElement(element, ReferenceModeNamingDomainRoleId) as global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType;
		}
Example #6
0
		public static void SetReferenceModeNaming(global::ORMSolutions.ORMArchitect.Core.ObjectModel.ObjectType element, ReferenceModeNaming newReferenceModeNaming)
		{
			DslModeling::DomainRoleInfo.SetLinkedElement(element, ObjectTypeDomainRoleId, newReferenceModeNaming);
		}
Example #7
0
		/// <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)
		{
		}