コード例 #1
0
 //Constructors were not generated for this class because it had HasCustomConstructor
 //set to true. Please provide the constructors below in a partial class.
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="store">Store where new element is to be created.</param>
 /// <param name="propertyAssignments">List of domain property id/value pairs to set once the element is created.</param>
 public nHydrateDiagram(Microsoft.VisualStudio.Modeling.Store store, params Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments)
     : this(store != null ? store.DefaultPartitionForClass(DomainClassId) : null, propertyAssignments)
 {
 }
コード例 #2
0
 // Constructors were not generated for this relationship because it had HasCustomConstructor
 // set to true. Please provide the constructors below in a partial class.
 public EntityAssociationConnector(Microsoft.VisualStudio.Modeling.Store store, params Microsoft.VisualStudio.Modeling.PropertyAssignment[] propertyAssignments)
     : this(store != null ? store.DefaultPartitionForClass(DomainClassId) : null, propertyAssignments)
 {
 }