コード例 #1
0
ファイル: Model1.cs プロジェクト: gbanister/Viewer
 /// <summary>
 /// Deprecated Method for adding a new object to the Archived_PropertyHistoryDetail EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToArchived_PropertyHistoryDetail(Archived_PropertyHistoryDetail archived_PropertyHistoryDetail)
 {
     base.AddObject("Archived_PropertyHistoryDetail", archived_PropertyHistoryDetail);
 }
コード例 #2
0
ファイル: Model1.cs プロジェクト: gbanister/Viewer
 /// <summary>
 /// Create a new Archived_PropertyHistoryDetail object.
 /// </summary>
 /// <param name="propertyID">Initial value of the PropertyID property.</param>
 /// <param name="field">Initial value of the Field property.</param>
 /// <param name="oldValue">Initial value of the OldValue property.</param>
 /// <param name="newValue">Initial value of the NewValue property.</param>
 /// <param name="timestamp">Initial value of the Timestamp property.</param>
 public static Archived_PropertyHistoryDetail CreateArchived_PropertyHistoryDetail(global::System.Int32 propertyID, global::System.String field, global::System.String oldValue, global::System.String newValue, global::System.DateTime timestamp)
 {
     Archived_PropertyHistoryDetail archived_PropertyHistoryDetail = new Archived_PropertyHistoryDetail();
     archived_PropertyHistoryDetail.PropertyID = propertyID;
     archived_PropertyHistoryDetail.Field = field;
     archived_PropertyHistoryDetail.OldValue = oldValue;
     archived_PropertyHistoryDetail.NewValue = newValue;
     archived_PropertyHistoryDetail.Timestamp = timestamp;
     return archived_PropertyHistoryDetail;
 }