/// <summary>
 /// Deprecated Method for adding a new object to the Standards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStandards(Standard standard)
 {
     base.AddObject("Standards", standard);
 }
 /// <summary>
 /// Create a new Standard object.
 /// </summary>
 /// <param name="standardId">Initial value of the StandardId property.</param>
 public static Standard CreateStandard(global::System.Int32 standardId)
 {
     Standard standard = new Standard();
     standard.StandardId = standardId;
     return standard;
 }
 public Standard GetStandardById(int standardid)
 {
     objstandard = new Standard();
     var standard = (from standards in DB.Standards where standards.StandardId == standardid select standards).FirstOrDefault();
     objstandard = (Standard)standard;
     return objstandard;
 }