惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

有赞技术团队
有赞技术团队
Security Archives - TechRepublic
Security Archives - TechRepublic
大猫的无限游戏
大猫的无限游戏
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
Vercel News
Vercel News
U
Unit 42
L
LangChain Blog
M
MIT News - Artificial intelligence
S
SegmentFault 最新的问题
月光博客
月光博客
MongoDB | Blog
MongoDB | Blog
Jina AI
Jina AI
博客园 - 聂微东
H
Hackread – Cybersecurity News, Data Breaches, AI and More
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Recent Announcements
Recent Announcements
Engineering at Meta
Engineering at Meta
Hacker News - Newest:
Hacker News - Newest: "LLM"
V2EX - 技术
V2EX - 技术
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
阮一峰的网络日志
阮一峰的网络日志
F
Fortinet All Blogs
D
DataBreaches.Net
Hacker News: Ask HN
Hacker News: Ask HN
W
WeLiveSecurity
N
News | PayPal Newsroom
量子位
Help Net Security
Help Net Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
人人都是产品经理
人人都是产品经理
S
Security @ Cisco Blogs
Y
Y Combinator Blog
H
Heimdal Security Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Stack Overflow Blog
Stack Overflow Blog
Attack and Defense Labs
Attack and Defense Labs
S
Secure Thoughts
P
Privacy International News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
SecWiki News
SecWiki News
Last Week in AI
Last Week in AI
AI
AI
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
Microsoft Security Blog
Microsoft Security Blog
P
Privacy & Cybersecurity Law Blog

博客园 - BigKiteasdasd

招聘软件开发 javascript常用验证(转载) 人生很重要的一个开始 NStarfaiNet框架类关系简图 NStarfaiNet框架性能测试结果 NStarfaiNet框架代码生成器Version1。1 NStarfaiNet框架代码生成器 NstarfaiNet框架日志 NStarfaiNet 框架的使用示例(三) NStarfaiNet 框架的使用示例(一) NStarfaiNet的SQL Map文件示范(maps/sample.xml) NStarfaiNet 的配置(dao_maps_config.config) NStarfaiNet 框架 iBatis.Net ParameterMap 怎样在C#中实现confirm() 动态添加附件上传按钮 常用javascript脚本 链接处变换色彩 学习配置篇1
NStarfaiNet 框架的使用示例(二)
BigKiteasdasd · 2006-10-22 · via 博客园 - BigKiteasdasd

NstarfaiNet 框架的使用示例(一)中已经对使用NStarfaiNet的应用框架的DAO和BLL做了简单的介绍。以下将继续对BLL进行补充说明,并示范生成的Model实体代码内容。
BLL: 自动生成的业务类代码不宜手动修改(如添加一些业务方法等),这样做是为了避免将来重新生成代码覆盖了自己添加的内容。开发者可以按照模块或者功能划分,手工添加一个新的BIZ业务类来处理其他业务逻辑。

 1/*
 2  版权所有:版权所有(C) 2007 NStarfaiNet框架设计者
 3  模块名称:NStarfaiNet.Test.BLL
 4  完成日期:2006-08-20
 5  设计作者:刘斌[liubin]
 6  内容摘要:BaseBLL 的摘要说明。
 7*/

 8using System;
 9using System.Data;
10using System.Runtime.Remoting.Messaging;
11
12using NStarfaiNet.Test.Dao;
13using NStarfaiNet.Access.Interface;
14using NStarfaiNet.Test.Model.Interface;
15
16namespace NStarfaiNet.Test.BLL
17{
18    /// <summary>
19    /// 业务基类
20    /// </summary>

21    public class BaseBLL
22    {
23        自动生成代码
82    }

83}

84

     Model:
      此处以测试表bsi_test为例

 1/*
 2  版权所有:版权所有(C) 2007 NStarfaiNet框架设计者
 3  模块名称:NStarfaiNet.Test
 4  完成日期:2006-08-20
 5  设计作者:刘斌[liubin]
 6  内容摘要:BsiTestEntity 的摘要说明。
 7*/

 8using System;
 9using NStarfaiNet.Access.Interface;
10using NStarfaiNet.Test.Model.Interface;
11
12namespace NStarfaiNet.Test.Model
13{
14    /// <summary>
15    /// NStarfaiNet 测试实体类
16    /// </summary>

17    [TableAttribute(TableName="bsi_test")]
18    public class BsiTestEntity : BaseEntity,IBsiTestEntity
19    {
20        自动生成代码
64        
65    }

66    
67}

68
69

      实体接口类:

 1/*
 2  版权所有:版权所有(C) 2007 NStarfaiNet框架设计者
 3  模块名称:NStarfaiNet.Test
 4  完成日期:2006-08-20
 5  设计作者:刘斌[liubin]
 6  内容摘要:BsiTestEntity 的摘要说明。
 7*/

 8
 9using NStarfaiNet.Access.Interface;
10
11namespace NStarfaiNet.Test.Model.Interface
12{
13 /// <summary>
14 /// NStarfaiNet 测试表实体接口。
15 /// </summary>

16 public interface IBsiTestEntity : IEntity
17 {   
18     自动生成代码
29 }

30}

31
32