Information générale
Catégorie:
The Mere Mortals .NET Framework
By converted I meant migrated. I may end up having to restore the version 2 business objects and manipulating them manually, but that seems counter productive.
I tried creating a net new project and generating the business objects again and then just moving my code over. The result was the same. First off I selected dynamic SQL and the command type was still set to stored procedure and secondly the error persisted. When I issue a saverow I get the following error stream:
[NullReferenceException: Object reference not set to an instance of an object.]
OakLeaf.MM.Main.Business.mmBusinessRule.CheckRules(mmBindingList`1 entityList) +89
OakLeaf.MM.Main.Business.mmBusinessObjectGeneric`1.CheckRules(mmBusinessObjectGeneric`1 businessObject, mmBindingList`1 entityList) +747
OakLeaf.MM.Main.Business.mmBusinessObjectGeneric`1.CheckRules() +131
OakLeaf.MM.Main.Business.mmBusinessObjectGeneric`1.CheckRules(mmBusinessObject businessObject, DataSet ds, String tableName) +169
OakLeaf.MM.Main.Business.mmBusinessObject.SaveDataSet(DataSet ds, String tableName, String databaseKey, IDbDataAdapter dbAdapter) +795
OakLeaf.MM.Main.Business.mmBusinessObject.SaveDataSet(DataSet ds, String tableName, String databaseKey) +101
OakLeaf.MM.Main.Business.mmBusinessObject.SaveDataSet(DataSet ds, String tableName) +159
OakLeaf.MM.Main.Business.mmBusinessObject.SaveDataSet(String tableName) +126
OakLeaf.MM.Main.Business.mmBusinessObject.SaveRow() +173
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement