Exemplo n.º 1
0
 /// <summary>
 /// Create a new tblBaredNumber object.
 /// </summary>
 /// <param name="baredNumberID">Initial value of the BaredNumberID property.</param>
 /// <param name="number">Initial value of the Number property.</param>
 /// <param name="added">Initial value of the Added property.</param>
 /// <param name="reason">Initial value of the Reason property.</param>
 /// <param name="originId">Initial value of the OriginId property.</param>
 public static tblBaredNumber CreatetblBaredNumber(global::System.Int32 baredNumberID, global::System.String number, global::System.DateTime added, global::System.String reason, global::System.Int32 originId)
 {
     tblBaredNumber tblBaredNumber = new tblBaredNumber();
     tblBaredNumber.BaredNumberID = baredNumberID;
     tblBaredNumber.Number = number;
     tblBaredNumber.Added = added;
     tblBaredNumber.Reason = reason;
     tblBaredNumber.OriginId = originId;
     return tblBaredNumber;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblBaredNumbers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblBaredNumbers(tblBaredNumber tblBaredNumber)
 {
     base.AddObject("tblBaredNumbers", tblBaredNumber);
 }