Пример #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(Blog blog)
 {
     base.AddObject("Blogs", blog);
 }
Пример #2
0
 /// <summary>
 /// Create a new Blog object.
 /// </summary>
 /// <param name="blogID">Initial value of the BlogID property.</param>
 /// <param name="blogNaslov">Initial value of the BlogNaslov property.</param>
 /// <param name="blogSodrzina">Initial value of the BlogSodrzina property.</param>
 /// <param name="blogVreme">Initial value of the BlogVreme property.</param>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="blogBrojKomentar">Initial value of the BlogBrojKomentar property.</param>
 /// <param name="blogBrojGlasovi">Initial value of the BlogBrojGlasovi property.</param>
 /// <param name="blogBrojPregledi">Initial value of the BlogBrojPregledi property.</param>
 public static Blog CreateBlog(global::System.Int32 blogID, global::System.String blogNaslov, global::System.String blogSodrzina, global::System.DateTime blogVreme, global::System.Guid userID, global::System.Int32 blogBrojKomentar, global::System.Int32 blogBrojGlasovi, global::System.Int32 blogBrojPregledi)
 {
     Blog blog = new Blog();
     blog.BlogID = blogID;
     blog.BlogNaslov = blogNaslov;
     blog.BlogSodrzina = blogSodrzina;
     blog.BlogVreme = blogVreme;
     blog.UserID = userID;
     blog.BlogBrojKomentar = blogBrojKomentar;
     blog.BlogBrojGlasovi = blogBrojGlasovi;
     blog.BlogBrojPregledi = blogBrojPregledi;
     return blog;
 }