コード例 #1
0
 /// <summary>
 /// Create a new Dir object.
 /// </summary>
 /// <param name="dir_id">Initial value of the dir_id property.</param>
 /// <param name="dir_name">Initial value of the dir_name property.</param>
 /// <param name="user_ownerid">Initial value of the user_ownerid property.</param>
 public static Dir CreateDir(global::System.Int32 dir_id, global::System.String dir_name, global::System.Int32 user_ownerid)
 {
     Dir dir = new Dir();
     dir.dir_id = dir_id;
     dir.dir_name = dir_name;
     dir.user_ownerid = user_ownerid;
     return dir;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Dirs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDirs(Dir dir)
 {
     base.AddObject("Dirs", dir);
 }