Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jump Start Creating Business Objects - C# Error
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01242992
Message ID:
01243369
Views:
26
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;
        }
    }
}
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform