/// <summary>
 /// Deprecated Method for adding a new object to the modules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTomodules(module module)
 {
     base.AddObject("modules", module);
 }
 /// <summary>
 /// Create a new module object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="module_code">Initial value of the module_code property.</param>
 /// <param name="module_type">Initial value of the module_type property.</param>
 /// <param name="module_name">Initial value of the module_name property.</param>
 /// <param name="post_validation">Initial value of the post_validation property.</param>
 /// <param name="log_level">Initial value of the log_level property.</param>
 /// <param name="stamp">Initial value of the stamp property.</param>
 /// <param name="access_criteria">Initial value of the access_criteria property.</param>
 public static module Createmodule(global::System.Int32 id, global::System.String module_code, global::System.Int32 module_type, global::System.String module_name, global::System.Boolean post_validation, global::System.Int32 log_level, global::System.DateTime stamp, global::System.String access_criteria)
 {
     module module = new module();
     module.id = id;
     module.module_code = module_code;
     module.module_type = module_type;
     module.module_name = module_name;
     module.post_validation = post_validation;
     module.log_level = log_level;
     module.stamp = stamp;
     module.access_criteria = access_criteria;
     return module;
 }