public static void InstallBuiltInCommand(builtin_commands c)
 {
     using (zvsEntities2 db = new zvsEntities2(zvsEntityControl.GetzvsConnectionString))
     {
         builtin_commands existing_c = db.builtin_commands.FirstOrDefault(cmd => cmd.name == c.name);
         if (existing_c == null)
         {
             db.builtin_commands.AddObject(c);
         }
         else
         {
             existing_c.friendly_name = c.friendly_name;
             existing_c.custom_data1 = c.custom_data1;
             existing_c.custom_data2 = c.custom_data2;
             existing_c.show_on_dynamic_obj_list = c.show_on_dynamic_obj_list;
             existing_c.arg_data_type = c.arg_data_type;
         }
         db.SaveChanges();
     }
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the builtin_commands EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobuiltin_commands(builtin_commands builtin_commands)
 {
     base.AddObject("builtin_commands", builtin_commands);
 }
 /// <summary>
 /// Create a new builtin_commands object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="friendly_name">Initial value of the friendly_name property.</param>
 /// <param name="arg_data_type">Initial value of the arg_data_type property.</param>
 /// <param name="show_on_dynamic_obj_list">Initial value of the show_on_dynamic_obj_list property.</param>
 public static builtin_commands Createbuiltin_commands(global::System.Int64 id, global::System.String name, global::System.String friendly_name, global::System.Int32 arg_data_type, global::System.Boolean show_on_dynamic_obj_list)
 {
     builtin_commands builtin_commands = new builtin_commands();
     builtin_commands.id = id;
     builtin_commands.name = name;
     builtin_commands.friendly_name = friendly_name;
     builtin_commands.arg_data_type = arg_data_type;
     builtin_commands.show_on_dynamic_obj_list = show_on_dynamic_obj_list;
     return builtin_commands;
 }