Inheritance: System.Data.Objects.DataClasses.EntityObject
Example #1
0
 /// <summary>
 /// Create a new student object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 public static student Createstudent(global::System.Int32 id)
 {
     student student = new student();
     student.id = id;
     return student;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the student EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTostudent(student student)
 {
     base.AddObject("student", student);
 }