in

CodeSmith Community

Your Code. Your Way. Faster!

Browse by Tags

  • Processors and Save

    I have an override on the insert and update methods in one of my service classes that add a processor. Those seem to be working fine, however, when I call the save method on the service supplying either an entity, or collection of entities neither the update, or insert methods are invoked, so how/where...
    Posted to .netTiers - General Support (Forum) by millerwa on 08-07-2007
    Filed under: Processors, Save
  • Mark a database field as needing encoding?

    Some fields of the database are strings from user input, that need encoding (like single quote to 2 quotes). Is there any way to mark these fields as needing encoding so that updates and inserts are automatically encoded properly? Is see that Find parameters are properly encoded. In the mean time I did...
    Posted to .netTiers - General Support (Forum) by larrym996 on 12-14-2007
    Filed under: .netTiers, CRUD, Formatting, Encryption, Save
  • DeepSave() Issue

    When I deep load a UserRole entity then do a bunch of processing setting various properties including changing the UserID (which is a foreign key reference to my User entity) then deep save my UserRole, the UserID reverts to the UserIDSource value for UserID instead of what I've set it too. Example...
    Posted to .netTiers - Bug Reports (Forum) by Ragnor on 10-08-2007
    Filed under: OneToOneRelationship, DeepSave, DeepLoad, Save
  • Deepsave - Not observing inner relationships of children when deepsaving parent.

    Let me try explain this one. I have a parent object (ParentObjectA) which has 3 child objects Named objA, objB, and objC objB and objC relate to objA in a parent child relationship. Now, a deepsave of ParentObjectA (with the child types specified in the deepsave syntax) eventually calls the deepsave...
    Posted to .netTiers - Bug Reports (Forum) by DavidChristiansen on 07-05-2007
    Filed under: bug, DeepSave, NetTiers, Save, ProviderBaseCore
  • DataRepository.EntityNameProvider.Save stack overflow

    Save causes a stack overflow exception for the sample provided script. SVN 549. Shopper mark = new Shopper(); mark.DateOfBirth = new DateTime(1977, 8, 27); mark.GenderCode = "M"; mark.UsesTobacco = false; mark.IsStudent = false; mark.LastModifiedDate = DateTime.Now; mark.AssociatedCampaignId = 1; Shopper...
    Posted to .netTiers - Bug Reports (Forum) by katokay on 04-30-2007
    Filed under: Save
  • Tough Question

    I've see many users ask this question and to date I've yet to find a response that actually answers the question. If I have an Entity validation rule that requires a trip to the database and also requires that it be part of any INSERT or UPDATE action on the entity how would this be implemented...
    Posted to .netTiers - General Support (Forum) by njappboy on 06-23-2008
    Filed under: Validation, ComponentLayer, Validation ServiceLayer, Validators, Processors, Entity Layer, Entities, ServiceLayer, business rules, Processorsvalidators, C#, Transaction, Save, Processors ValidationRules BrokenRulesList, .netTiers 2.3.0, Validation ServiceLayer Validate IsValid Entity
Page 1 of 1 (6 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems