using System; using System.Collections.Generic; using System.Linq; using System.Text; using Dapper; namespace NX.ERP.U8 { public class U8Pubufts { public long GetPubufts() { string strSql = " select CONVERT(BIGINT,@@DBTS) "; using (var conn=U8LoginContext.Instance.Connection) { return conn.ExecuteScalar(strSql,null,null,30,System.Data.CommandType.Text); } } } }