I'm having problems with mmDataAccessBase class.
Here is the error message
O:\OTS Business\Common.cs(12): 'IEI.OTS.Business.Common' does not implement inherited abstract member 'OakLeaf.MM.Main.Data.mmDataAccessBase.ConfigureInsertForAutoIncrement(string)'
using System;
using System.Data;
using OakLeaf.MM.Main.Data;
using OakLeaf.MM.Main.Business;
using IEI.OTS;
namespace IEI.OTS.Business
{
///
/// Summary description for Committee.
/// public class Common : mmDataAccessBase
{
public Common()
{
//
// TODO: Add constructor logic here
//
}
public int GetNextSequence(string seqString)
{
// Get a reference to the data access object
mmDataAccessBase dao = this.GetDataAccessObject();
// Create the parameter and set the direction
IDbDataParameter param1 = dao.CreateParameter("pFieldName", seqString);
IDbDataParameter param2 = dao.CreateParameter("oCurValue", 0);
param2.Direction = ParameterDirection.Output;
// Call the stored procedure and pass the parameter
IDbCommand cmd;
this.ExecSprocScalar("GetNextVal", out cmd, param1, param2);
// Retrieve the value from the command object
IDbDataParameter param = (IDbDataParameter)cmd.Parameters["oCurValue"];
int next_value = (int)param.Value;
return next_value;
}
}
}
--------------------------
Clay Angelly
cangelly@ie-inc.comNever argue with an idiot. They drag you down to their level and beat you with experience.