/// <summary> /// Create a new SecModule object. /// </summary> /// <param name="moduleId">Initial value of the ModuleId property.</param> /// <param name="moduleName">Initial value of the ModuleName property.</param> /// <param name="moduleDesc">Initial value of the ModuleDesc property.</param> /// <param name="url">Initial value of the Url property.</param> /// <param name="moduleType">Initial value of the ModuleType property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="updatedOn">Initial value of the UpdatedOn property.</param> /// <param name="updatedBy">Initial value of the UpdatedBy property.</param> public static SecModule CreateSecModule(global::System.Int32 moduleId, global::System.String moduleName, global::System.String moduleDesc, global::System.String url, global::System.Int32 moduleType, global::System.Boolean status, global::System.DateTime createdOn, global::System.Int32 createdBy, global::System.DateTime updatedOn, global::System.Int32 updatedBy) { SecModule secModule = new SecModule(); secModule.ModuleId = moduleId; secModule.ModuleName = moduleName; secModule.ModuleDesc = moduleDesc; secModule.Url = url; secModule.ModuleType = moduleType; secModule.Status = status; secModule.CreatedOn = createdOn; secModule.CreatedBy = createdBy; secModule.UpdatedOn = updatedOn; secModule.UpdatedBy = updatedBy; return secModule; }
/// <summary> /// Deprecated Method for adding a new object to the SecModules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSecModules(SecModule secModule) { base.AddObject("SecModules", secModule); }