Exemple #1
0
 public TDvHubEntity FindByHub <THub>(THub hubData, bool includeDetails = true) where THub : IHub, new()
 {
     return(DataVaultContext.ReadRecord <TDvHubEntity>(hubData, includeDetails ? new[] { "*" } : Array.Empty <object>()));
 }
Exemple #2
0
 public TDvHubEntity FindByBk(string bk, bool includeDetails = true)
 {
     return(DataVaultContext.ReadRecord <TDvHubEntity>(DataVaultQuery <TDvHubEntity> .EqualsBK(bk), includeDetails ? new[] { "*" } : Array.Empty <object>()));
 }
Exemple #3
0
 public override TDvHubEntity Find(string id, bool includeDetails = true)
 {
     return(DataVaultContext.ReadRecord <TDvHubEntity>(DataVaultQuery <TDvHubEntity> .EqualsPK(id), includeDetails ? new[] { "*" } : Array.Empty <object>()));
 }