/// <summary> /// Create a new SubscriberItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> public static SubscriberItem CreateSubscriberItem(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String firstName, global::System.String lastName) { SubscriberItem subscriberItem = new SubscriberItem(); subscriberItem.Id = id; subscriberItem.RowVersion = rowVersion; subscriberItem.FirstName = firstName; subscriberItem.LastName = lastName; return(subscriberItem); }
/// <summary> /// Deprecated Method for adding a new object to the Subscriber EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSubscriber(SubscriberItem subscriberItem) { base.AddObject("Subscriber", subscriberItem); }
/// <summary> /// Create a new SubscriberItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName property.</param> public static SubscriberItem CreateSubscriberItem(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String firstName, global::System.String lastName) { SubscriberItem subscriberItem = new SubscriberItem(); subscriberItem.Id = id; subscriberItem.RowVersion = rowVersion; subscriberItem.FirstName = firstName; subscriberItem.LastName = lastName; return subscriberItem; }