Exemplo n.º 1
0
        /// <summary>
        /// Create a new Alumnus object.
        /// </summary>
        /// <param name="alumnusId">Initial value of the AlumnusId property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        public static Alumnus CreateAlumnus(global::System.Int32 alumnusId, global::System.String name)
        {
            Alumnus alumnus = new Alumnus();

            alumnus.AlumnusId = alumnusId;
            alumnus.Name      = name;
            return(alumnus);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Alumni EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAlumni(Alumnus alumnus)
 {
     base.AddObject("Alumni", alumnus);
 }