/// <summary> /// Deprecated Method for adding a new object to the Visitors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVisitors(Visitor visitor) { base.AddObject("Visitors", visitor); }
/// <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; }