using Ktkj.BusSchedule.DAL.MssqlDal;
using Ktkj.BusSchedule.Infrastructure.Entity;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Linq;
using System.Text; //dal层下基本都要引用的 在Dal层下写时要写上的
namespace Ktkj.BusSchedule.DAL.Factory
{
public class BaseOrganizationDal
{
#if DEBUG
private static readonly string connString = "Server=218.70.87.86,2433;DataBase=JtTest;Uid=bustest;Pwd=abcd1234";
/*server:数据库服务器名,DataBase:数据库名,Uid:数据库账号,pwd:密码*/
#else
private static string connString = ConfigurationManager.ConnectionStrings["ConnString"].ToString();
#endif
把数据通过C#写入数据库的模板
最新推荐文章于 2024-07-13 08:13:48 发布