コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Callers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCallers(Caller caller)
 {
     base.AddObject("Callers", caller);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Caller object.
 /// </summary>
 /// <param name="callerID">Initial value of the CallerID property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="phoneNumber">Initial value of the PhoneNumber property.</param>
 public static Caller CreateCaller(global::System.Int32 callerID, global::System.String firstName, global::System.String phoneNumber)
 {
     Caller caller = new Caller();
     caller.CallerID = callerID;
     caller.FirstName = firstName;
     caller.PhoneNumber = phoneNumber;
     return caller;
 }