Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Jump Start Creating Business Objects - C# Error
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01242992
Message ID:
01243369
Vues:
27
I did a Find for DefaultCommandType in the entire solution and only ABusinessObject.cs has the line already in it.


ABusinessObject.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Text;

using OakLeaf.MM.Main;
using OakLeaf.MM.Main.Business;
using OakLeaf.MM.Main.Collections;
using OakLeaf.MM.Main.Security;
using OakLeaf.MM.Main.Managers;

namespace Acme.OrderSystem.Business
{
    /// <summary>
    /// Application-level Business Object class
    /// </summary>
    public class ABusinessObject<EntityType> : mmBusinessObjectGeneric<EntityType>
        where EntityType : mmBusinessEntity, new()
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public ABusinessObject()
        {
            this.DatabaseKey = "Northwind";
            this.RetrieveAutoIncrementPK = true;
            this.DefaultCommandType = CommandType.StoredProcedure;
        }
    }
}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform