/// <summary> /// Create a new Police object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="age">Initial value of the Age property.</param> /// <param name="avG">Initial value of the AvG property.</param> /// <param name="chdn">Initial value of the Chdn property.</param> /// <param name="exEd">Initial value of the ExEd property.</param> /// <param name="cR">Initial value of the CR property.</param> /// <param name="sexIsF">Initial value of the SexIsF property.</param> /// <param name="secE">Initial value of the SecE property.</param> /// <param name="avgE">Initial value of the AvgE property.</param> /// <param name="finalE">Initial value of the FinalE property.</param> public static Police CreatePolice(global::System.Int32 id, global::System.Int32 age, global::System.Double avG, global::System.Int32 chdn, global::System.Int32 exEd, global::System.Boolean cR, global::System.Boolean sexIsF, global::System.Boolean secE, global::System.Double avgE, global::System.String finalE) { Police police = new Police(); police.ID = id; police.Age = age; police.AvG = avG; police.Chdn = chdn; police.ExEd = exEd; police.CR = cR; police.SexIsF = sexIsF; police.SecE = secE; police.AvgE = avgE; police.FinalE = finalE; return police; }
/// <summary> /// Deprecated Method for adding a new object to the Police EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPolice(Police police) { base.AddObject("Police", police); }