Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Andrei 68 posts 130 karma points
    Oct 18, 2017 @ 21:41

    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?

Please Sign in or register to post replies

Write your reply to: