Skip to content

Instantly share code, notes, and snippets.

@stefansedich
Created May 22, 2011 01:01
Show Gist options
  • Save stefansedich/985053 to your computer and use it in GitHub Desktop.
Save stefansedich/985053 to your computer and use it in GitHub Desktop.
NHibernate: INSERT INTO Person (Name, Age, Id) VALUES (@p0, @p1, @p2);@p0 = 'dsd' [Type: String (0)], @p1 = 22 [Type: Int32 (0)], @p2 = 0 [Type: Int32 (0)]
NHibernate: INSERT INTO Foo (Description, Id) VALUES (@p0, @p1);@p0 = 'Testing' [Type: String (0)], @p1 = 0 [Type: Int32 (0)]
NHibernate: SELECT person_.Id, person_.Name as Name0_, person_.Age as Age0_ FROM Person person_ WHERE person_.Id=@p0;@p0 = 0 [Type: Int32 (0)]
NHibernate: SELECT foo_.Id, foo_.Description as Descript2_1_ FROM Foo foo_ WHERE foo_.Id=@p0;@p0 = 0 [Type: Int32 (0)]
NHibernate: DELETE FROM Person WHERE Id = @p0;@p0 = 0 [Type: Int32 (0)]
NHibernate: DELETE FROM Foo WHERE Id = @p0;@p0 = 0 [Type: Int32 (0)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment