/// <summary> /// Deprecated Method for adding a new object to the Cardholders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCardholders(Cardholder cardholder) { base.AddObject("Cardholders", cardholder); }
/// <summary> /// Create a new Cardholder object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="card_no">Initial value of the card_no property.</param> public static Cardholder CreateCardholder(global::System.Int32 id, global::System.String name, global::System.Int32 card_no) { Cardholder cardholder = new Cardholder(); cardholder.id = id; cardholder.name = name; cardholder.card_no = card_no; return cardholder; }