/// <summary> /// Deprecated Method for adding a new object to the Modules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToModules(Modules modules) { base.AddObject("Modules", modules); }
/// <summary> /// Create a new Modules object. /// </summary> /// <param name="moduleId">Initial value of the ModuleId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="loweredName">Initial value of the LoweredName property.</param> public static Modules CreateModules(global::System.Int32 moduleId, global::System.String name, global::System.String loweredName) { Modules modules = new Modules(); modules.ModuleId = moduleId; modules.Name = name; modules.LoweredName = loweredName; return modules; }