Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ModulesInfo EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModulesInfo(ModuleInfo moduleInfo)
 {
     base.AddObject("ModulesInfo", moduleInfo);
 }
Пример #2
0
 /// <summary>
 /// Create a new ModuleInfo object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="isMain">Initial value of the IsMain property.</param>
 public static ModuleInfo CreateModuleInfo(global::System.Int32 id, global::System.Boolean isMain)
 {
     ModuleInfo moduleInfo = new ModuleInfo();
     moduleInfo.ID = id;
     moduleInfo.IsMain = isMain;
     return moduleInfo;
 }