473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

validation sample code in Business logic layer and Data Access Lay

ss
Hi,

Can anybody give me a SAMPLE VALIDATION CODE (MOST COMMON ONES) IN BUSINESS
LOGIC LAYER & DATA ACCESS LAYER

I REPEATE SAMPLE VALIDATON CODE IN BLL & DAL

BYE
SS
May 10 '06 #1
2 2885
Maybe you should take a look at the CSLA.NET at:
http://www.lhotka.net/

you'll find a 2.0 and 1.x version, including full source code available
under a repository. You'll specifically want to look at the core
BusinessBase.cs class:
cslacs10/CSLA/BusinessBase.cs
as well as the BrokenRules class

Karl

--
http://www.openmymind.net/

"ss" <ss@discussions.microsoft.com> wrote in message
news:F6**********************************@microsof t.com...
Hi,

Can anybody give me a SAMPLE VALIDATION CODE (MOST COMMON ONES) IN
BUSINESS
LOGIC LAYER & DATA ACCESS LAYER

I REPEATE SAMPLE VALIDATON CODE IN BLL & DAL

BYE
SS

May 10 '06 #2
ss
Hi Karl,

Thanks very much. It was very useful link. though i know about rocky, i
never dig inside his site to what is there.

Thanks once again, I highly appreciate your help.

bye
ss

"Karl Seguin [MVP]" wrote:
Maybe you should take a look at the CSLA.NET at:
http://www.lhotka.net/

you'll find a 2.0 and 1.x version, including full source code available
under a repository. You'll specifically want to look at the core
BusinessBase.cs class:
cslacs10/CSLA/BusinessBase.cs
as well as the BrokenRules class

Karl

--
http://www.openmymind.net/

"ss" <ss@discussions.microsoft.com> wrote in message
news:F6**********************************@microsof t.com...
Hi,

Can anybody give me a SAMPLE VALIDATION CODE (MOST COMMON ONES) IN
BUSINESS
LOGIC LAYER & DATA ACCESS LAYER

I REPEATE SAMPLE VALIDATON CODE IN BLL & DAL

BYE
SS


May 29 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Simon Harvey | last post by:
Hello Chaps, Me and a collegue have been talking about where the best place to put business logic is. I think that the best place is where Microsoft suggest - in a seperate business logic...
3
by: Sean Tynan | last post by:
I want to find out the best way for a method to notify calling code of situations such as validation errors, etc. that may occur during method execution. e.g. say I have a method (business...
2
by: engwar | last post by:
Which starter kit or open source project would you consider well-architected? Or more specifically which has good examples to showing a newbie how to separate presentation/business logic/data...
3
by: Student | last post by:
Good evening, I create a three tier ASP.NET web application. How can I validate the form input data in the Business Logic Layer? Can anyone give me an example?
0
by: ss | last post by:
Hi, I would like to know like what is the best method of writing validation code in the n-tier application. For example in Business Logic Layer How do I write Data Validation Code, what are all...
4
by: ss | last post by:
hi, can anybody gives me a sample code where the sql injection attack is validated. how can i do that in business logic layer and pass the error to the presentation tier I want the sample...
16
by: MS newsgroup | last post by:
I don't have clear reasons why we need business logic layer and data logic layer instead of having only data logic layer. Are there any good reasons for that?
0
by: johnlim20088 | last post by:
Can someone help me on this? I need a sample console application built in C# net with new practice -> separate in three layer architecture 1) Presentation layer 2) Business logic layer 3)...
4
by: jehugaleahsa | last post by:
Hello: Is it me, or is handling the Validating event for every control on a form extremely annoying? It is especially annoying when my business logic repeats most of the validation. Some things...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.