/// <summary> /// Deprecated Method for adding a new object to the Module EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToModule(Module module) { base.AddObject("Module", module); }
/// <summary> /// Create a new Module object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="displayName">Initial value of the DisplayName property.</param> /// <param name="fileName">Initial value of the FileName property.</param> /// <param name="enabled">Initial value of the Enabled property.</param> /// <param name="version">Initial value of the Version property.</param> /// <param name="hash">Initial value of the Hash property.</param> public static Module CreateModule(global::System.Int32 id, global::System.String name, global::System.String displayName, global::System.String fileName, global::System.Boolean enabled, global::System.String version, global::System.String hash) { Module module = new Module(); module.Id = id; module.Name = name; module.DisplayName = displayName; module.FileName = fileName; module.Enabled = enabled; module.Version = version; module.Hash = hash; return module; }