Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the worker EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToworker(worker worker)
 {
     base.AddObject("worker", worker);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new worker object.
 /// </summary>
 /// <param name="worker_id">Initial value of the worker_id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="department_id">Initial value of the department_id property.</param>
 /// <param name="password">Initial value of the password property.</param>
 public static worker Createworker(global::System.Int32 worker_id, global::System.String name, global::System.Int32 department_id, global::System.String password)
 {
     worker worker = new worker();
     worker.worker_id = worker_id;
     worker.name = name;
     worker.department_id = department_id;
     worker.password = password;
     return worker;
 }