コード例 #1
0
 public static TEntity MapToStorageEntityForUpsert <TEntity>(this TEntity to, Conflux.RPC.Eth.DTOs.TransactionReceiptVO @from, string address)
     where TEntity : AddressTransaction
 {
     to.Map(from.Transaction, address);
     to.UpdateRowDates();
     return(to);
 }
コード例 #2
0
 public static TEntity MapToStorageEntityForUpsert <TEntity>(this Conflux.RPC.Eth.DTOs.TransactionReceiptVO @from, string address)
     where TEntity : AddressTransaction, new()
 {
     return(MapToStorageEntityForUpsert <TEntity>(new TEntity(), from, address));
 }
コード例 #3
0
 public static AddressTransaction MapToStorageEntityForUpsert(this Conflux.RPC.Eth.DTOs.TransactionReceiptVO @from, string address)
 {
     return(from.MapToStorageEntityForUpsert <AddressTransaction>(address));
 }