public class CommentsBusiness //Business{ #region 单列模式 PRivate static CommentBusiness instance; private CommentData dal;//Data private CommentsBusiness() { dal=new CommentData(); } public static CommentBusiness GetInstance() { if(instance==null) instance=new CommentBusiness(); return instance; } #endregion}
新闻热点
疑难解答