Ejemplo n.º 1
0
        /// <summary>
        /// Create a new Studentinfo object.
        /// </summary>
        /// <param name="rollno">Initial value of the rollno property.</param>
        /// <param name="name">Initial value of the name property.</param>
        public static Studentinfo CreateStudentinfo(global::System.Int32 rollno, global::System.String name)
        {
            Studentinfo studentinfo = new Studentinfo();

            studentinfo.rollno = rollno;
            studentinfo.name   = name;
            return(studentinfo);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Studentinfoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStudentinfoes(Studentinfo studentinfo)
 {
     base.AddObject("Studentinfoes", studentinfo);
 }