Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Object Generator
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Business Object Generator
Divers
Thread ID:
01444100
Message ID:
01444100
Vues:
108
Hello all,

I am creating a BO using the BLG in Mere Mortals and basing it on a view. I am only creating the main class and an Entty class. Now the view is just a list of colums from a couple of tables and it is grouping data by 3 columns with a couple of summed numeric columns.

My question is why does the BLG type the summed columns as decimal with nulls (i.e. 'decimal?'). The columns from the base tables do not allow nulls, so I am curious as to why the BLG does this. The real question I need answered is when I run a stored procedure via a method in this BO to be returned into the Entity class, I get the following error:

"Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints."

When I run the stored procedure in SSMS, the rows get returned fine and there are no nulls.

Any help is appreciated.

TIA

Bob
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform