/// <summary> /// Create a new Consumer object. /// </summary> /// <param name="consumersID">Initial value of the ConsumersID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="facebookID">Initial value of the FacebookID property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="dateCreated">Initial value of the DateCreated property.</param> /// <param name="lastLoggedIn">Initial value of the LastLoggedIn property.</param> public static Consumer CreateConsumer(global::System.Int64 consumersID, global::System.String name, global::System.Int64 facebookID, global::System.String email, global::System.DateTime dateCreated, global::System.DateTime lastLoggedIn) { Consumer consumer = new Consumer(); consumer.ConsumersID = consumersID; consumer.Name = name; consumer.FacebookID = facebookID; consumer.Email = email; consumer.DateCreated = dateCreated; consumer.LastLoggedIn = lastLoggedIn; return consumer; }
/// <summary> /// Deprecated Method for adding a new object to the Consumers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToConsumers(Consumer consumer) { base.AddObject("Consumers", consumer); }