private bool FilterAutos(Auto entity) { return (entity.PurposeId == this.PurposeId); }
private void AttachAutos(Auto entity) { entity.Purpos = this; }
private void DetachAutos(Auto entity) { entity.Purpos = null; }
private void DetachAutos(Auto entity) { entity.Person = null; }
private bool FilterAutos(Auto entity) { return (entity.OwnerPersonId == this.PersonId); }
private bool FilterAuto(Auto entity) { return (entity.AutoId == this.AutoId); }
private void AttachAutos(Auto entity) { entity.Person = this; }
private bool FilterAutos(Auto entity) { return (entity.FuelTypeId == this.FuelTypeId); }
private void DetachAutos(Auto entity) { entity.FuelType = null; }
private void AttachAutos(Auto entity) { entity.FuelType = this; }
/// <summary> /// Create a new Auto object. /// </summary> /// <param name="autoId">Initial value of the AutoId property.</param> public static Auto CreateAuto(global::System.Int32 autoId) { Auto auto = new Auto(); auto.AutoId = autoId; return auto; }
/// <summary> /// Deprecated Method for adding a new object to the Autos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAutos(Auto auto) { base.AddObject("Autos", auto); }