コード例 #1
0
        /// <summary>
        /// Create a new diagnostic object.
        /// </summary>
        /// <param name="dDistanceTravelled">Initial value of the dDistanceTravelled property.</param>
        /// <param name="idDiagnostics">Initial value of the idDiagnostics property.</param>
        public static diagnostic Creatediagnostic(global::System.Int32 dDistanceTravelled, global::System.Int32 idDiagnostics)
        {
            diagnostic diagnostic = new diagnostic();

            diagnostic.dDistanceTravelled = dDistanceTravelled;
            diagnostic.idDiagnostics      = idDiagnostics;
            return(diagnostic);
        }
 /// <summary>
 /// Create a new diagnostic object.
 /// </summary>
 /// <param name="dDistanceTravelled">Initial value of the dDistanceTravelled property.</param>
 /// <param name="idDiagnostics">Initial value of the idDiagnostics property.</param>
 public static diagnostic Creatediagnostic(global::System.Int32 dDistanceTravelled, global::System.Int32 idDiagnostics)
 {
     diagnostic diagnostic = new diagnostic();
     diagnostic.dDistanceTravelled = dDistanceTravelled;
     diagnostic.idDiagnostics = idDiagnostics;
     return diagnostic;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the diagnostics EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodiagnostics(diagnostic diagnostic)
 {
     base.AddObject("diagnostics", diagnostic);
 }
コード例 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the diagnostics EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTodiagnostics(diagnostic diagnostic)
 {
     base.AddObject("diagnostics", diagnostic);
 }