Exemple #1
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.Memory = this;
 }
Exemple #2
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.Memory = null;
 }
Exemple #3
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.HardDrive = null;
 }
Exemple #4
0
 private bool FilterAssemblys(Assembly entity)
 {
     return (entity.HardDriveId == this.Id);
 }
Exemple #5
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.PSU = null;
 }
Exemple #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;
 }
Exemple #7
0
 private void AttachAssemblyCollection(Assembly entity)
 {
     entity.GPU = this;
 }
Exemple #8
0
 private bool FilterAssemblys(Assembly entity)
 {
     return (entity.MotherBoardId == this.Id);
 }
Exemple #9
0
 private void DetachAssembly(Assembly entity)
 {
     entity.Cooler = null;
 }
Exemple #10
0
 private bool FilterAssembly(Assembly entity)
 {
     return (entity.CoolerId == this.Id);
 }
Exemple #11
0
 private void AttachAssembly(Assembly entity)
 {
     entity.Cooler = this;
 }
Exemple #12
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.Body = null;
 }
Exemple #13
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.Body = this;
 }
Exemple #14
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.Motherboard = this;
 }
Exemple #15
0
 private void DetachAssemblyCollection(Assembly entity)
 {
     entity.GPU = null;
 }
Exemple #16
0
 private void DetachAssemblys(Assembly entity)
 {
     entity.Motherboard = null;
 }
Exemple #17
0
 private bool FilterAssemblyCollection(Assembly entity)
 {
     return (entity.GPUId == this.Id);
 }
Exemple #18
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.PSU = this;
 }
Exemple #19
0
 private void AttachAssemblys(Assembly entity)
 {
     entity.HardDrive = this;
 }
Exemple #20
0
 private bool FilterAssemblys(Assembly entity)
 {
     return (entity.PSUId == this.Id);
 }
Exemple #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);
 }