Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What type of return to use between layers
Message
De
07/03/2005 10:19:16
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Titre:
What type of return to use between layers
Versions des environnements
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
00993275
Message ID:
00993275
Vues:
51
My business object (BO) need to pass a table to the GUI. The BO and the GUI will reside on the same computer and will not use .NET remoting or web service for now, but will need to support .NET remoting and a web interface in the future. What return type should I use?

  • DataSet
  • DataTable
  • XML

    With the first 2 options, does .NET do the plumbing of transfering the table in XML format between the layers or it simply pass the object?

    With the XML option, do you define the return type as string? How do you return the XML with the XSD?

    TIA
  • Suivant
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform