Example #1
0
    public byte[] GetSummaryData(byte[] loginTicket, string ORM_TypeName)
    {
        Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket);

        dalBaseDataDict dict = dalBaseDataDict.CreateDalByORM(loginer, ORM_TypeName);
        DataTable       data = dict.GetSummaryData();

        return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data)));
    }
Example #2
0
        public byte[] GetDataDictByTableName(byte[] loginTicket, string tableName)
        {
            Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket);

            dalBaseDataDict dict = new dalBaseDataDict(loginer, tableName);
            DataTable       data = dict.GetSummaryData();

            return(ZipTools.CompressionObject(DataConverter.TableToDataSet(data)));
        }
Example #3
0
    public byte[] GetDataDictByTableName(byte[] loginTicket, string tableName)
    {
        try
        {
            Loginer loginer = WebServiceSecurity.ValidateLoginer(loginTicket);

            dalBaseDataDict dict = new dalBaseDataDict(loginer, tableName);
            DataTable       data = dict.GetSummaryData();
            return(ZipTools.CompressionObject(ServerLibrary.TableToDataSet(data)));
        }
        catch (Exception ex)
        {
            throw new FaultException(ex.Message);;
        }
    }