Esempio n. 1
0
        /// <summary>
        /// Create a new zoo object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        /// <param name="grad">Initial value of the grad property.</param>
        public static zoo Createzoo(global::System.Int32 id, global::System.String grad)
        {
            zoo zoo = new zoo();

            zoo.id   = id;
            zoo.grad = grad;
            return(zoo);
        }
Esempio n. 2
0
 /// <summary>
 /// Create a new zoo object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="grad">Initial value of the grad property.</param>
 public static zoo Createzoo(global::System.Int32 id, global::System.String grad)
 {
     zoo zoo = new zoo();
     zoo.id = id;
     zoo.grad = grad;
     return zoo;
 }
Esempio n. 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the zoo EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTozoo(zoo zoo)
 {
     base.AddObject("zoo", zoo);
 }
Esempio n. 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the zoo EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTozoo(zoo zoo)
 {
     base.AddObject("zoo", zoo);
 }