Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReferenceMapping"/> class.
 /// </summary>
 /// <param name="name">Name.</param>
 /// <param name="entityChild">Entity child.</param>
 /// <param name="entityParent">Entity parent.</param>
 public ReferenceMapping(string name, string entityChild, EntityMapping entityParent)
 {
     _Name = name;
     _EntityChild = entityChild;
     _EntityParent = entityParent;
     _Rules = new RuleMappingCollection();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReferenceMapping"/> class.
 /// </summary>
 public ReferenceMapping()
 {
     _Rules = new RuleMappingCollection();
 }