Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Blogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBlogs(Blogs blogs)
 {
     base.AddObject("Blogs", blogs);
 }
Example #2
0
 /// <summary>
 /// Create a new Blogs object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="createdDate">Initial value of the CreatedDate property.</param>
 /// <param name="modifiedDate">Initial value of the modifiedDate property.</param>
 /// <param name="expiryDate">Initial value of the ExpiryDate property.</param>
 public static Blogs CreateBlogs(global::System.String id, global::System.DateTime createdDate, global::System.DateTime modifiedDate, global::System.DateTime expiryDate)
 {
     Blogs blogs = new Blogs();
     blogs.Id = id;
     blogs.CreatedDate = createdDate;
     blogs.modifiedDate = modifiedDate;
     blogs.ExpiryDate = expiryDate;
     return blogs;
 }