Ignoring properties in Dapper
问题 In Dapper (http://code.google.com/p/dapper-dot-net/), is there a way to ignore properties in the model class, namely when using the Insert extension method? My model class has a set of computed properties which are not persisted in the associated table. Thanks. Pedro 回答1: Well, Dapper has no Insert extension method, that is in dapper.contrib, dapper extensions or dapper rainbow. Dapper itself allows you to do: Animal a = new Animal {Age = 10, Family = "Canine"} // only insert Age cnn.Execute(