Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Audiences EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAudiences(Audience audience)
 {
     base.AddObject("Audiences", audience);
 }
Пример #2
0
 /// <summary>
 /// Create a new Audience object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Audience CreateAudience(global::System.Int32 id, global::System.String title, global::System.Byte[] rowVersion)
 {
     Audience audience = new Audience();
     audience.Id = id;
     audience.Title = title;
     audience.RowVersion = rowVersion;
     return audience;
 }