Esempio n. 1
0
        public override int GetHashCode()
        {
            var hashCode = 1684631887;

            hashCode = hashCode * -1521134295 + NColumns.GetHashCode();
            hashCode = hashCode * -1521134295 + Fields.Select(f => f.GetHashCode()).Aggregate(0, (acc, val) => acc ^ val);
            hashCode = hashCode * -1521134295 + NRows.GetHashCode();
            return(hashCode);
        }
Esempio n. 2
0
        public DataTable Retreive(string Connection, string OfficeSpaceId, string DatabaseName, string TableName, NColumns NCS, NWheres NWS)
        {
            WorkSpace.Service WS = new WorkSpace.Service();
            WS.Url = getWebUrl();

            string ssss = NCS.ExportString();
            string xxxx = NWS.ExportString();

            string NCS_Encrypt = new EncryptDecrypt.CryptorEngine().Encrypt(NCS.ExportString(), true);
            string NWS_Encrypt = new EncryptDecrypt.CryptorEngine().Encrypt(NWS.ExportString(), true);


            DataTable dt = WS.SelectByColumnAndWhere(Connection, OfficeSpaceId, DatabaseName, TableName, NCS_Encrypt, NWS_Encrypt, UserName);

            ErrorLog = WS.getError();
            return(dt);
        }
Esempio n. 3
0
        public DataTable Retreive(string Connection, string OfficeSpaceId, string DatabaseName, string TableName, NColumns NCS)
        {
            WorkSpace.Service WS = new WorkSpace.Service();
            WS.Url = getWebUrl();
            DataTable dt = WS.SelectAllByColumn(Connection, OfficeSpaceId, DatabaseName, TableName, NCS.ExportString(), UserName);

            ErrorLog = WS.getError();
            return(dt);
        }