Example #1
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.Memory = this;
 }
Example #2
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.Memory = null;
 }
Example #3
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.HardDrive = null;
 }
Example #4
0
 private bool FilterAssemblys(Assembly entity)
 {
     return (entity.HardDriveId == this.Id);
 }
Example #5
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.PSU = null;
 }
Example #6
0
 /// <summary>
 /// Create a new Assembly object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="gPUId">Initial value of the GPUId property.</param>
 /// <param name="cPUId">Initial value of the CPUId property.</param>
 /// <param name="memoryId">Initial value of the MemoryId property.</param>
 /// <param name="motherBoardId">Initial value of the MotherBoardId property.</param>
 /// <param name="bodyId">Initial value of the BodyId property.</param>
 /// <param name="pSUId">Initial value of the PSUId property.</param>
 /// <param name="hardDriveId">Initial value of the HardDriveId property.</param>
 /// <param name="coolerId">Initial value of the CoolerId property.</param>
 public static Assembly CreateAssembly(global::System.Int32 id, global::System.Int32 gPUId, global::System.Int32 cPUId, global::System.Int32 memoryId, global::System.Int32 motherBoardId, global::System.Int32 bodyId, global::System.Int32 pSUId, global::System.Int32 hardDriveId, global::System.Int32 coolerId)
 {
     Assembly assembly = new Assembly();
     assembly.Id = id;
     assembly.GPUId = gPUId;
     assembly.CPUId = cPUId;
     assembly.MemoryId = memoryId;
     assembly.MotherBoardId = motherBoardId;
     assembly.BodyId = bodyId;
     assembly.PSUId = pSUId;
     assembly.HardDriveId = hardDriveId;
     assembly.CoolerId = coolerId;
     return assembly;
 }
Example #7
0
 private void AttachAssemblyCollection(Assembly entity)
 {
     entity.GPU = this;
 }
Example #8
0
 private bool FilterAssemblys(Assembly entity)
 {
     return (entity.MotherBoardId == this.Id);
 }
Example #9
0
 private void DetachAssembly(Assembly entity)
 {
     entity.Cooler = null;
 }
Example #10
0
 private bool FilterAssembly(Assembly entity)
 {
     return (entity.CoolerId == this.Id);
 }
Example #11
0
 private void AttachAssembly(Assembly entity)
 {
     entity.Cooler = this;
 }
Example #12
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.Body = null;
 }
Example #13
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.Body = this;
 }
Example #14
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.Motherboard = this;
 }
Example #15
0
 private void DetachAssemblyCollection(Assembly entity)
 {
     entity.GPU = null;
 }
Example #16
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.Motherboard = null;
 }
Example #17
0
 private bool FilterAssemblyCollection(Assembly entity)
 {
     return (entity.GPUId == this.Id);
 }
Example #18
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.PSU = this;
 }
Example #19
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.HardDrive = this;
 }
Example #20
0
 private bool FilterAssemblys(Assembly entity)
 {
     return (entity.PSUId == this.Id);
 }
Example #21
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Assemblys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAssemblys(Assembly assembly)
 {
     base.AddObject("Assemblys", assembly);
 }