/// <summary> /// Deprecated Method for adding a new object to the Authors EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuthors(Author author) { base.AddObject("Authors", author); }
/// <summary> /// Create a new Author object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="blogId">Initial value of the BlogId property.</param> /// <param name="isOwner">Initial value of the IsOwner property.</param> public static Author CreateAuthor(global::System.Guid userId, global::System.Guid blogId, global::System.Boolean isOwner) { Author author = new Author(); author.UserId = userId; author.BlogId = blogId; author.IsOwner = isOwner; return author; }