Skip to content

Instantly share code, notes, and snippets.

@thecodejunkie
Created October 26, 2013 13:30
Show Gist options
  • Save thecodejunkie/7169495 to your computer and use it in GitHub Desktop.
Save thecodejunkie/7169495 to your computer and use it in GitHub Desktop.
var existingCustomer = session.Query<Customer>()
.FetchMany(c => c.DeliveryAddresses)
.SingleOrDefault(c => c.CustomerId.Equals(imported.CustomerId));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment