private void AttachAssemblys(Assembly entity) { entity.Memory = this; }
private void DetachAssemblys(Assembly entity) { entity.Memory = null; }
private void DetachAssemblys(Assembly entity) { entity.HardDrive = null; }
private bool FilterAssemblys(Assembly entity) { return (entity.HardDriveId == this.Id); }
private void DetachAssemblys(Assembly entity) { entity.PSU = null; }
/// <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; }
private void AttachAssemblyCollection(Assembly entity) { entity.GPU = this; }
private bool FilterAssemblys(Assembly entity) { return (entity.MotherBoardId == this.Id); }
private void DetachAssembly(Assembly entity) { entity.Cooler = null; }
private bool FilterAssembly(Assembly entity) { return (entity.CoolerId == this.Id); }
private void AttachAssembly(Assembly entity) { entity.Cooler = this; }
private void DetachAssemblys(Assembly entity) { entity.Body = null; }
private void AttachAssemblys(Assembly entity) { entity.Body = this; }
private void AttachAssemblys(Assembly entity) { entity.Motherboard = this; }
private void DetachAssemblyCollection(Assembly entity) { entity.GPU = null; }
private void DetachAssemblys(Assembly entity) { entity.Motherboard = null; }
private bool FilterAssemblyCollection(Assembly entity) { return (entity.GPUId == this.Id); }
private void AttachAssemblys(Assembly entity) { entity.PSU = this; }
private void AttachAssemblys(Assembly entity) { entity.HardDrive = this; }
private bool FilterAssemblys(Assembly entity) { return (entity.PSUId == this.Id); }
/// <summary> /// Deprecated Method for adding a new object to the Assemblys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAssemblys(Assembly assembly) { base.AddObject("Assemblys", assembly); }