nHydrate.Dsl.EntityHasViews.EntityHasViews C# (CSharp) Method

EntityHasViews() public method

Constructor Creates a EntityHasViews link in the same Partition as the given Entity
public EntityHasViews ( Entity source, View target ) : System
source Entity Entity to use as the source of the relationship.
target View View to use as the target of the relationship.
return System
		public EntityHasViews(Entity source, View target)
			: base((source != null ? source.Partition : null), new DslModeling::RoleAssignment[] { new DslModeling::RoleAssignment(EntityHasViews.ParentEntityDomainRoleId, source), new DslModeling::RoleAssignment(EntityHasViews.ChildViewDomainRoleId, target) }, null)
		{
			this.InternalId = Guid.NewGuid();
		}

Same methods

EntityHasViews::EntityHasViews ( global::Microsoft.VisualStudio.Modeling store ) : System
EntityHasViews::EntityHasViews ( global::Microsoft.VisualStudio.Modeling store, global::Microsoft.VisualStudio.Modeling roleAssignments, global::Microsoft.VisualStudio.Modeling propertyAssignments ) : System