Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Visitors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToVisitors(Visitor visitor)
 {
     base.AddObject("Visitors", visitor);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Visitor object.
 /// </summary>
 /// <param name="visID">Initial value of the VisID property.</param>
 public static Visitor CreateVisitor(global::System.Int32 visID)
 {
     Visitor visitor = new Visitor();
     visitor.VisID = visID;
     return visitor;
 }