登录
首页 » C# » NHibernate 连接mssql2008数据库方式

NHibernate 连接mssql2008数据库方式

于 2022-05-23 发布 文件大小:2.26 MB
0 115
下载积分: 2 下载次数: 1

代码说明:

#region 空间using System.Configuration;using System.Data.SqlClient;using NHibernate.Cfg;using NHibernate.Dialect;using NHibernate.Driver;#endregion#region 类namespace Maxuni.Repository{    public class NHibernateCfg    {        #region 连接字符串     &nbs

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • music
    单片机音乐播放程序,程序中已包含两首简单的歌曲《三轮车》《生日快乐》。例程中有详细的注释。(SCM Music Player, the program included two simple songs "tricycle", "Happy Birthday" Routine, detailed notes.)
    2011-02-08 11:38:35下载
    积分:1
  • objective C 练习
    objective C 练习 用的一个模型,举了一个车的例子,定义了一个类:car,头文件和实现
    2022-11-28 13:00:03下载
    积分:1
  • c51
    单片机时钟编程,包括秒表,时钟以及闹钟,亲测可用,包括DSN文件(Microcontroller clock programming, including a stopwatch, clock, and alarm clock, pro-test are available, including DSN file)
    2013-07-24 11:39:55下载
    积分:1
  • DHT11
    DHT11获取外界的温度和湿度,并通过串口发送显示两项数值(DHT11 for temperature and humidity of the outside world, and are displayed via a serial port to send two numerical values )
    2014-08-01 21:24:43下载
    积分:1
  • 双重 ADC 同步规则DMA实验
    用STM32双重ADC功能采集两路电压,并将其中一路电压通过串口发送出去(Using STM32 dual ADC function to collect two voltage channels and send one voltage through serial port)
    2020-06-21 12:00:02下载
    积分:1
  • 实时汇率查询源码
    一、源码特点        1、获得网络实时汇率。过滤汇率信息,免费分享,欢迎下载 二、注意事项        1、开发环境为Visual Studio 2012,无数据库,使用.net 3.5开发。
    2022-01-25 23:32:47下载
    积分:1
  • covFunctions
    高斯回归建立代理模型行协方差函数的选着的变成(gpml-matlab-v3.1-2010-09-27)
    2011-01-03 19:18:15下载
    积分:1
  • mappings
    功能是仲裁访问的互斥体,包含创建数据文件,创建仲裁的互斥体,根据文件创建100个线程来读写,关闭对象(Function is to arbitrate access mutex,Includes creating a data file, create a mutex arbitration, creates 100 threads to read and write in the paper, close the object)
    2014-04-23 14:51:26下载
    积分:1
  • TCC em Latex UFRGS
    说明:  sugestiaon to latex formation for brazilian tcc
    2019-03-18 21:06:01下载
    积分:1
  • c#FORM服务器客户端UDP通讯实例
    服务器客户端UDP广播通话 【核心代码】using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Net.Sockets;using System.Net;namespace NetServer{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button2_Click(object sender, EventArgs e) { this.Close(); } private void Form1_Load(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { //使用UDP协议发送数据 Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp); //设置端口号 IPEndPoint ieps = new IPEndPoint(IPAddress.Broadcast, 8900); socket.SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.Broadcast, 1); //将发送数据转换为字节数组 byte[] bytess = System.Text.Encoding.Unicode.GetBytes(textBox1.Text); socket.SendTo(bytess, ieps); socket.Close(); } }}
    2020-05-31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载