示例#1
0
 /// <summary>
 /// 创建新的 View_WorkersCardTrack 对象。
 /// </summary>
 /// <param name="cardNumber">CardNumber 属性的初始值。</param>
 /// <param name="startTime">StartTime 属性的初始值。</param>
 /// <param name="endTime">EndTime 属性的初始值。</param>
 public static View_WorkersCardTrack CreateView_WorkersCardTrack(global::System.String cardNumber, global::System.DateTime startTime, global::System.DateTime endTime)
 {
     View_WorkersCardTrack view_WorkersCardTrack = new View_WorkersCardTrack();
     view_WorkersCardTrack.CardNumber = cardNumber;
     view_WorkersCardTrack.StartTime = startTime;
     view_WorkersCardTrack.EndTime = endTime;
     return view_WorkersCardTrack;
 }
示例#2
0
 /// <summary>
 /// 用于向 View_WorkersCardTrack EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToView_WorkersCardTrack(View_WorkersCardTrack view_WorkersCardTrack)
 {
     base.AddObject("View_WorkersCardTrack", view_WorkersCardTrack);
 }