/// <summary>
        /// Create a new TroubleCode object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="code">Initial value of the Code property.</param>
        /// <param name="description">Initial value of the Description property.</param>
        /// <param name="address">Initial value of the Address property.</param>
        public static TroubleCode CreateTroubleCode(global::System.Int32 id, global::System.String code, global::System.String description, global::System.Byte address)
        {
            TroubleCode troubleCode = new TroubleCode();

            troubleCode.Id          = id;
            troubleCode.Code        = code;
            troubleCode.Description = description;
            troubleCode.Address     = address;
            return(troubleCode);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the TroubleCodes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTroubleCodes(TroubleCode troubleCode)
 {
     base.AddObject("TroubleCodes", troubleCode);
 }
 /// <summary>
 /// Create a new TroubleCode object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 public static TroubleCode CreateTroubleCode(global::System.Int32 id, global::System.String code, global::System.String description, global::System.Byte address)
 {
     TroubleCode troubleCode = new TroubleCode();
     troubleCode.Id = id;
     troubleCode.Code = code;
     troubleCode.Description = description;
     troubleCode.Address = address;
     return troubleCode;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TroubleCodes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTroubleCodes(TroubleCode troubleCode)
 {
     base.AddObject("TroubleCodes", troubleCode);
 }