您的位置:首页 > 编程语言 > C#

我的代码生成器生成的样本代码(C#)

2008-09-04 11:24 459 查看
Code

using System;

using System.Collections.Generic;

using System.Text;

namespace JoeyCodeGenerator

{

public class UserBroker

{

#region "Methods"

#region "Insert"

public static void Insert(User instance)

{

//add business logic here

UserDataBase.Insert(instance);

}

#endregion

#region "Select"

public static void Select(User instance)

{

//add business logic here

UserDataBase.Select(instance);

}

#endregion

#region "Update"

public static void Update(User instance)

{

//add business logic here

UserDataBase.Update(instance);

}

#endregion

#region "Delete"

public static void Delete(User instance)

{

//add business logic here

UserDataBase.Delete(instance);

}

#endregion

#endregion

}

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: