日期:2014-05-17 浏览次数:20773 次
using System;
using System.Collections.Generic;
using System.Text;
using Galsun.HH.FCX.Mode;
using System.Reflection;
namespace Galsun.HH.FCX.DALFactory
{
/// <summary>
///
/// 此文件由模型系统生成,注释根据数据库的扩展字段MS_Description得到 模型转换V2.0 作者:刘朝林
/// 生成时间:2012-12-28 17:29:03
/// </summary>
public interface Iba_county
{
ba_countyinfo GetInfoByID(string cond);
ba_countyinfo GetInfoByID(string cond, ba_countyinfo param);
IList<ba_countyinfo> GetInfoList(int pageindex, int pagesize, string ordfid, string cond);
IList<ba_countyinfo> GetInfoList(int pageindex, int pagesize, string ordfid, string cond, ba_countyinfo param);
int GetRowCount(string cond);
int GetRowCount(string cond, ba_countyinfo param);
int Create(ba_countyinfo info);
int Update(ba_countyinfo info, string cond);
int Delete(string cond);
int Delete(string cond, ba_countyinfo param);
}
public sealed partial class DataAccess
{
/// <summary>
/// 获取ba_county相应接口
/// </summary>
/// <returns></returns>
public static Iba_county CreateIba_county()
{
string className = path + ".ba_county";
return (Iba_county)Assembly.Load(path).CreateInstance(className);
}
}
}
using System;
using System.Collections.Generic;
using System.Text;
using Galsun.DALProfile;
using Galsun.HH.FCX.DALFactory;
using Galsun.HH.FCX.Mode;
using System.Reflection;
namespace Galsun.HH.FCX.DALSQLServer
{
/// <summary>
///
/// 此文件由模型系统生成,注释根据数据库的扩展字段MS_Description得到 模型转换V2.0 作者:刘朝林
/// 生成时间:2013-3-8 15:57:30
///&