public static TEntity MapToStorageEntityForUpsert <TEntity>(this TEntity to, Nethereum.RPC.Eth.DTOs.TransactionReceiptVO @from, string address) where TEntity : AddressTransaction { to.Map(from.Transaction, address); to.UpdateRowDates(); return(to); }
public static TEntity MapToStorageEntityForUpsert <TEntity>(this Nethereum.RPC.Eth.DTOs.TransactionReceiptVO @from, string address) where TEntity : AddressTransaction, new() { return(MapToStorageEntityForUpsert <TEntity>(new TEntity(), from, address)); }
public static AddressTransaction MapToStorageEntityForUpsert(this Nethereum.RPC.Eth.DTOs.TransactionReceiptVO @from, string address) { return(from.MapToStorageEntityForUpsert <AddressTransaction>(address)); }