CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.commerce_starter_kit Tags:
Item Type: NewsGroup Date Entered: 4/2/2004 11:26:07 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 22 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
Wout
Asp.Net User
why CustomerDetails and CustomersDB?4/2/2004 11:26:07 AM

0/0

In the IbuyWeb I find

public class CustomerDetails
{
public String FullName;
public String Email;
public String Password;
}

public class CustomersDB {
public CustomerDetails GetCustomerDetails(String customerID)
{
...some code that connects to the DB and fills a CustomerDetails Object...
}
}

Why are there two separate objects for this? Personally I would create one CustomerDetails with a getDetailsFromDB() method that fetches all the data.

My customers have a serveral ID fields (ex languageID, countryID, ...). If I want to fetch the values for this ID has have to make a detour when working with a 'pure-Details' object and a 'pure-DB' object.

Or am I missing out on some performance issues?

Regards,
Wout



Support your local bands!!
1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET by Example Authors: Steven A. Smith, Pages: 552, Published: 2002
Microsoft .NET Distributed Applications: Integrating XML Web Services and .NET Remoting Authors: Matthew MacDonald, Pages: 700, Published: 2003
Beginning ASP.NET in VB.NET: From Novice to Professional Authors: Matthew MacDonald, Pages: 983, Published: 2004

Web:
October 5, 2002 - IBuySpy's CustomersDB Component The CustomersDB.js component includes two classes: CustomerDetails and CustomersDB . The CustomerDetails class includes only parameters: ...
Type 'customerDetails' is not defined. - ASP.NET Forums The GetCustomerDetails function is within the CustomersDB class and I'm ... Also , once you Dim customerDetails isn't that defining it? ...
Type 'customerDetails' is not defined. - ASP.NET Forums The GetCustomerDetails function is within the CustomersDB class and I'm assuming that since accountSystem is a new customerDB class object customerDetails ...
CustomersDB supports these methods: ' ' LoginAndGetDetails ... The CustomerDetails struct is used by LoginAndGetDetails to return ... String End Class Public Class CustomersDB Private _ConnectionString As String Public ...
SQL Server 2000 customerdb cs public class CustomerDetails { private String customerID; private String firstName; ... public class CustomersDB { static UTF8Encoding encoder = new ...
System.Management.ManagementException: Invalid class - Application ... CustomersDB.CreateUserProfile() +308 IBuySpy.Register. ... CustomerDetails Class // // A simple data class that encapsulates details about ...
ASPnetNotes.html CustomersDB accountSystem = new IBuySpy.CustomersDB(); String customerId ... Value = customerDetails.FullName; // Make the cookie persistent only if the ...
<%@ Register TagPrefix="IBuySpy" TagName ..." target="_" >Page Language="VB" %> <%@ Register TagPrefix="IBuySpy" TagName ... CustomersDB = New IBuySpy.CustomersDB() Dim customerId As String = accountSystem . ... Value = customerDetails.FullName ' Make the cookie persistent only if ...
[2] 주요 로직 컴포넌트 public class CustomersDB { /// /// 고객 상세 정보 반환 메서드 /// ... public CustomerDetails GetCustomerDetails(string customerID) ...
C# .NET Problem with Login page CustomersDB accountSystem = new ASPNET.StarterKit.Commerce.CustomersDB() ... Value = customerDetails.FullName; // Make the cookie persistent only if the ...




Search This Site:










very newbie question on usps proxy authentication error 407

connection string - help

ibuyspy step by step

ibuyspy store's account history

submenu

does anyone know where can i download the sql server vb.net version ibuyspy store?

adding product functionality/info

where can i get a "plug and play" ibuystore?

errormessage on register.aspx

is anyone familiar with the .netecommerce package?

the complete guide to build the commerce starter kit from the ground up

i solved the &quot;configuration failed!&quot; problem!

textbox removes special characters(åäö)

commerce starter kit (vb vs) cannot open .sln in vs.net 2003

directions on line shop

reviews of eshop-server??

could not find stored procedure

store error

hi guys, i need the technique how to store data in the shopping cart.

using starter kits in commercial products

converting the nvarchar to ntext. help.

ibuyspy not logging in when using web forwarding

any support for avatars or rank icons?

ecommerce starter kit....how do i csv or import export?

err about cartid?

commercalizing the commerce kit- interested in helping

commerce starter kit - where is the database?

remote instal prob

using the _header &_menu user controls

question on how the project deals with connections

  Privacy | Contact Us
All Times Are GMT