in

CodeSmith Community

Your Code. Your Way. Faster!

Browse by Tags

  • How to move DataAccess to custom Controls?

    I have separate controller classes for accessing the ServiceLayer Componentlayer. Each controller class simply has a shared method that returns the necessary information from within the servicelayers. Previously I have kept these under the GUI project in a separate folder. It has come to the point that...
    Posted to .netTiers - General Support (Forum) by ecathell on 04-03-2007
    Filed under: Windows Form, Typed DataSource Controls, Winforms, Service layer, Data Layer SqlClient
  • Updating is not supported by ObjectDataSource 'ObjectDataSource1' unless the UpdateMethod is specified.

    Hi, Can someone help me out regarding this error. As relatively new to .nettiers can somebody tells where to write the update method.I am using the view to retrieve the data. I am using service layer to add my custom methods as per my requirement. Also please give some suggestion about writing my own...
    Posted to .netTiers - General Support (Forum) by mfaisal on 03-15-2007
    Filed under: ObjectDataSource, Service layer
  • Use TableName to create Entity object, Service object, and TList for that table

    If I have an EntityName (tablename) as a string: 1) The EnitityFactory will seemingly create the Entity object at run time given the entity name. 2) But creating the Service Object is not clear. How does one get an Entities Service object at run time? 3) Can you create a TList object at runtime if you...
    Posted to .netTiers - General Support (Forum) by JOERICH on 02-26-2007
    Filed under: .netTiers Providers, Entities Service object at run time, Service layer, TList, TList at Runtime
  • 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, Processors, Service layer, ServiceLayer, Validation, Validation ServiceLayer
  • Anyone using TRANSACTIONS?

    Hi! Sorry about this second post concerning transactions, but I cannot find much documentation about SQL transactions with .netTiers, and I badly need information concerning this. Could someone tell me a bit more about them, especially in the context of an ASP.NET project using Strongly Typed Data Sources...
    Posted to .netTiers - General Support (Forum) by velum on 01-31-2007
    Filed under: Service layer, strongly typed datasource, transactions
  • Re: [New Bie] Insert a new record to Nettiers

    DataRepository.MyEntityProvider.Save( myEntity ) The service layer just adds extra functionality before calling the methods in the MyEntityProvider. Check out the DataRepository class in your Data project which provides access to the Providers via static properties. hth swin
    Posted to .netTiers - General Support (Forum) by swin on 01-23-2007
    Filed under: .netTiers Providers, Service layer, ServiceLayer
  • Easy Loading

    Hi! I would like to know whether it is good practice to use the Service Layer within the Entity Layer. I have a complex object having properties containing values based on calculations performed on subobjects. If the object was fetched using Deep Load, then it is not a problem to perform the calculations...
    Posted to .netTiers - General Support (Forum) by velum on 12-04-2006
    Filed under: Easy Loading, Entity Layer, Service layer
  • Get By Foreign Key methods not being created for all tables.

    Hi All, I am just curious as to why .NET tiers will not generate my foreign key get methods for my service layer? I have three tables: table A table B and Table C. Table A is the primary key table for table B and table B is the primary key table for Table C only table C ever has it's get by foreignkey...
    Posted to .netTiers - General Support (Forum) by peterv on 11-28-2006
    Filed under: Service layer
  • Re: Handling EDS events

    Evan, Great implementation! I’ve made a tiny enhancement to the class to be able to read broken rules for those business entities that are not used in the business process pipeline. using System; using System.Collections.Generic; using System.Text; using System.Web.UI.WebControls; using RootNamespace...
    Posted to .netTiers - General Support (Forum) by mike123 on 11-22-2006
    Filed under: EntityNotValidException, Service layer, Validation
  • Generating a web service layer for a winforms app

    Hi All, I am trying to generate a web service layer using the ServiceLayer option but cannot seem to get it to work. The code generates fine, but how to you use it from a winfroms client. I added a web reference to it, but there does not seem to be and services like there is if you use it with out the...
    Posted to .netTiers - General Support (Forum) by needbrew on 11-17-2006
    Filed under: Service layer
Page 1 of 2 (16 items) 1 2 Next >
Copyright © 2007 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems