/// <summary> /// Deprecated Method for adding a new object to the AutoTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAutoTypes(AutoType autoType) { base.AddObject("AutoTypes", autoType); }
private bool FilterAutoType(AutoType entity) { return (entity.AutoTypeId == this.AutoTypeId); }
/// <summary> /// Create a new AutoType object. /// </summary> /// <param name="autoTypeId">Initial value of the AutoTypeId property.</param> public static AutoType CreateAutoType(global::System.Int32 autoTypeId) { AutoType autoType = new AutoType(); autoType.AutoTypeId = autoTypeId; return autoType; }