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

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

博客园 - 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