Ejemplo n.º 1
0
		public static void SetModel(DefaultReferenceModeNaming element, MappingCustomizationModel newModel)
		{
			DslModeling::DomainRoleInfo.SetLinkedElement(element, DefaultReferenceModeNamingDomainRoleId, newModel);
		}
Ejemplo n.º 2
0
		public static MappingCustomizationModel GetModel(DefaultReferenceModeNaming element)
		{
			return DslModeling::DomainRoleInfo.GetLinkedElement(element, DefaultReferenceModeNamingDomainRoleId) as MappingCustomizationModel;
		}
Ejemplo n.º 3
0
		/// <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)
		{
		}
Ejemplo n.º 4
0
		public static void SetORMModel(DefaultReferenceModeNaming element, global::ORMSolutions.ORMArchitect.Core.ObjectModel.ORMModel newORMModel)
		{
			DslModeling::DomainRoleInfo.SetLinkedElement(element, DefaultReferenceModeNamingDomainRoleId, newORMModel);
		}
Ejemplo n.º 5
0
		public static global::ORMSolutions.ORMArchitect.Core.ObjectModel.ORMModel GetORMModel(DefaultReferenceModeNaming element)
		{
			return DslModeling::DomainRoleInfo.GetLinkedElement(element, DefaultReferenceModeNamingDomainRoleId) as global::ORMSolutions.ORMArchitect.Core.ObjectModel.ORMModel;
		}
Ejemplo n.º 6
0
		/// <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)
		{
		}