Created
July 29, 2011 11:43
-
-
Save ashic/1113662 to your computer and use it in GitHub Desktop.
duck
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var personId = new Guid("9438D2F0-AD99-45C0-86D3-CAF9C3E77CAF"); | |
//fails...says @p0 not passed in | |
db.In<Person>() | |
.Where(x => x.PersonId == personId) | |
.Update(x => new Person { Name = "XX" }); | |
//succeeds | |
db.In<Person>() | |
.Where(x => x.PersonId == new Guid("9438D2F0-AD99-45C0-86D3-CAF9C3E77CAF")) | |
.Update(x => new Person { Name = "XX" }); | |
//this looks like a problem...if the values are part of the event but we need to create values inline, it looks //like it fails? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment