Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CommandBehavior.SchemaOnly
Message
De
30/07/2013 10:16:18
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01579375
Message ID:
01579413
Vues:
39
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Viv,
>
>If I change definition of the TableSchema class to be
>
>public class TableSchema 
>{
>
>internal String TableName;
>
>public List<ColumnSchema> Columns = new List<ColumnSchema>();
>
>}
>
>then how would I retrieve column schema for particular column name ?
var columnSchema = Columns.Where(x => x.ColumnName == "Name").FirstOrDefault();
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform