CodeSmith Community
Your Code. Your Way. Faster!

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • 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
  • Processors for CRUD methods

    I have been using nettiers for 6 months now and am having a few problems with processors. I know there are multiple posts regarding processors and between them, they have managed to get me up and running for various processors I have written. The problem I am having is related to my understanding of...
    Posted to .netTiers - General Support (Forum) by gregpakes on 06-06-2008
    Filed under: .netTiers, Processors
  • 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
  • Processor Multiple Broken Rules

    Hi I've been using NetTiers for a few months now and I think I've got to grips with things but I'm not completely clear on the use of processors. It appears to me that the example processor on the NetTiers site (Documentation/Component Layer) will only display the first error it comes across, as the...
    Posted to .netTiers - General Support (Forum) by loosecannon on 03-20-2007
    Filed under: .netTiers, BrokenRules, Processors, C#, .net 2.0, Component Layer
  • Is this a component layer bug?

    Hi! In my Component Layer (or Service Layer) , I'm using processors to perform tasks before an Update or an Insert takes place. I also do my complex validation in there. I discovered that if I do something like this in the processor while performing and Update on a Customer entity, then the information...
    Posted to .netTiers - General Support (Forum) by velum on 03-16-2007
    Filed under: Processors, Component Layer
  • Re: Processors and Terminating Execution

    Hi Scott, This is quite simple to do - just use the Execute overload that takes a boolean to decide whether to "abortIfFailure" i.e. ServiceResult result = this.Execute( true ); This causes the execute method to check the ProcessorResult "Result" property to see if it is false i.e there is no result...
    Posted to .netTiers - General Support (Forum) by swin on 02-22-2007
    Filed under: BrokenRules, Validation, Validation ServiceLayer, Processors, Service layer, ServiceLayer
  • Transactions and Nested FormViews

    Hi! I am working on an ASP.NET projet where I am using Strongly Typed Datasources, and where many web pages are using nested FormViews. Does anyone know how to use transactions to rollback the INSERTS/UPDATES in case an error happens in a sub-FormView? For example, let's say, I have the complex object...
    Posted to .netTiers - General Support (Forum) by velum on 01-29-2007
    Filed under: transactions, strongly typed datasource, Processors, FormViews
  • Where to hook up Validators and Processors in web context?

    Hi! In Post 10543 , Nick wrote: "You may also want to have an Inserting event handler for your DataSource to stitch up entities (but don't validate in there, that should only be done using validation controls in the UI and in the Business Logic Layer)." And in another post, Robert told me to add my custom...
    Posted to .netTiers - General Support (Forum) by velum on 11-08-2006
    Filed under: Validators, Processors, Web context
  • ToString entity method calls Validate - causes StackOverflow

    I recently upgraded to version 749 of nettiers only to find some strange changes that cause StackOverflows to occur when entity ToString() method is called during a validation process. The new EntityInstanceBase.generated.cst template has a ToString override. In the override method there is a call to...
    Posted to .netTiers - General Support (Forum) by njappboy on 07-15-2008
    Filed under: Validation, Validation ServiceLayer, DeepSave, Validators, Processors, DeepLoad, Processorsvalidators, Processors NetTiersMystery, Processors ValidationRules BrokenRulesList, override, .netTiers 2.3.0, Validation ServiceLayer Validate IsValid Entity, DeepSave problem children processors
  • Re: Where to hook up Validators and Processors in web context?

    Hi, I personally now use Fowler's Model View Presenter in my web apps, and put my validators in a View class. So whatever custom processors/validations need to be in use for that view is what is created.
    Posted to .netTiers - General Support (Forum) by Robert Hinojosa on 11-10-2006
    Filed under: Validation ServiceLayer, Processors, MVP
Page 1 of 1 (10 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems