Example #1
0
 /// <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);
 }
Example #2
0
 /// <summary>
 /// Create a new Module object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="moduleDirectoryID">Initial value of the ModuleDirectoryID property.</param>
 /// <param name="assemblyName">Initial value of the AssemblyName property.</param>
 /// <param name="class">Initial value of the Class property.</param>
 /// <param name="moduleName">Initial value of the ModuleName property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 /// <param name="modified">Initial value of the Modified property.</param>
 public static Module CreateModule(global::System.Int32 id, global::System.Int32 moduleDirectoryID, global::System.String assemblyName, global::System.String @class, global::System.String moduleName, global::System.Boolean active, global::System.DateTime created, global::System.DateTime modified)
 {
     Module module = new Module();
     module.ID = id;
     module.ModuleDirectoryID = moduleDirectoryID;
     module.AssemblyName = assemblyName;
     module.Class = @class;
     module.ModuleName = moduleName;
     module.Active = active;
     module.Created = created;
     module.Modified = modified;
     return module;
 }