Petapoco new attributes - IgnoreOnInsert, IgnoreOnUpdate
Hi guys,
I would really love to have these attributes in Petapoco, with the purpose of making it easier to handle database default values (for ex. when you have a 'CreatedDate' column that you never want to touch, but would like to have it when querying). Neither ResultColumn or Ignore attributes are of any help in this scenario.
Anyways, I tried following the pull-request guide, but build.bat fails. I get this:
d:\dev\Umbraco-CMS\src\Umbraco.Web.UI\Umbraco.Web.UI.csproj(2598,3): error MSB4019: The imported project "C:\Program Fi
les (x86)\MSBuild\Microsoft\VisualStudio\v11.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm
that the path in the <Import> declaration is correct, and that the file exists on disk.
[Update]: Looks like I was following an outdated guide, nevermind the build error.
However I'm still interested in Petapoco attribute, anyone else agreeing they would be useful?
Petapoco new attributes - IgnoreOnInsert, IgnoreOnUpdate
Hi guys,
I would really love to have these attributes in Petapoco, with the purpose of making it easier to handle database default values (for ex. when you have a 'CreatedDate' column that you never want to touch, but would like to have it when querying). Neither ResultColumn or Ignore attributes are of any help in this scenario.
Anyways, I tried following the pull-request guide, but build.bat fails. I get this:
[Update]: Looks like I was following an outdated guide, nevermind the build error. However I'm still interested in Petapoco attribute, anyone else agreeing they would be useful?
is working on a reply...