/// <summary> /// Create a new sp object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="lastname">Initial value of the lastname property.</param> /// <param name="mark">Initial value of the mark property.</param> /// <param name="attendanse">Initial value of the attendanse property.</param> public static sp Createsp(global::System.Int32 id, global::System.String name, global::System.String lastname, global::System.Int32 mark, global::System.String attendanse) { sp sp = new sp(); sp.id = id; sp.name = name; sp.lastname = lastname; sp.mark = mark; sp.attendanse = attendanse; return sp; }
/// <summary> /// Deprecated Method for adding a new object to the sps EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosps(sp sp) { base.AddObject("sps", sp); }