コード例 #1
0
ファイル: FFModel.Designer.cs プロジェクト: phjon04/XinFeiFei
 /// <summary>
 /// Deprecated Method for adding a new object to the LogEntries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLogEntries(LogEntry logEntry)
 {
     base.AddObject("LogEntries", logEntry);
 }
コード例 #2
0
ファイル: FFModel.Designer.cs プロジェクト: phjon04/XinFeiFei
 /// <summary>
 /// Create a new LogEntry object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="characterId">Initial value of the CharacterId property.</param>
 /// <param name="logString">Initial value of the LogString property.</param>
 /// <param name="systemId">Initial value of the SystemId property.</param>
 /// <param name="dateTime">Initial value of the DateTime property.</param>
 public static LogEntry CreateLogEntry(global::System.Int32 id, global::System.Int32 characterId, global::System.String logString, global::System.Byte systemId, global::System.DateTime dateTime)
 {
     LogEntry logEntry = new LogEntry();
     logEntry.Id = id;
     logEntry.CharacterId = characterId;
     logEntry.LogString = logString;
     logEntry.SystemId = systemId;
     logEntry.DateTime = dateTime;
     return logEntry;
 }