Inheritance: System.Data.Objects.DataClasses.EntityObject
Exemplo n.º 1
0
        /// <summary>
        /// Create a new mybook object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="authorId">Initial value of the AuthorId property.</param>
        public static mybook Createmybook(global::System.Int32 id, global::System.Int32 authorId)
        {
            mybook mybook = new mybook();

            mybook.Id       = id;
            mybook.AuthorId = authorId;
            return(mybook);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new mybook object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="authorId">Initial value of the AuthorId property.</param>
 public static mybook Createmybook(global::System.Int32 id, global::System.Int32 authorId)
 {
     mybook mybook = new mybook();
     mybook.Id = id;
     mybook.AuthorId = authorId;
     return mybook;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the mybooks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomybooks(mybook mybook)
 {
     base.AddObject("mybooks", mybook);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the mybooks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomybooks(mybook mybook)
 {
     base.AddObject("mybooks", mybook);
 }