Пример #1
0
        /// <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);
        }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Subscriber EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubscriber(SubscriberItem subscriberItem)
 {
     base.AddObject("Subscriber", subscriberItem);
 }
Пример #3
0
 /// <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;
 }
Пример #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Subscriber EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSubscriber(SubscriberItem subscriberItem)
 {
     base.AddObject("Subscriber", subscriberItem);
 }