Exemplo n.º 1
0
        public static void Export()
        {
            string sql = SqlFacade.SqlSelect(TableName, "id \"Id\", code \"Code\", description \"Description\", address \"Address\", name \"Contact Name\", phone \"Phone\", fax \"Fax\", " +
                                             "email \"Email\", note \"Note\", status \"Status\", insert_by \"Inserted By\", insert_at \"Inserted At\", change_by \"Changed By\", change_at \"Changed At\"",
                                             "status <> '" + Type.RecordStatus_Deleted + "'", "code");

            SqlFacade.ExportToCSV(sql);
        }
Exemplo n.º 2
0
        public static void Export()
        {
            string sql = SqlFacade.SqlSelect(TableName, ConfigFacade.sy_sql_export_unit_measure, "status <> '" + Type.RecordStatus_Deleted + "'", "code");

            SqlFacade.ExportToCSV(sql);
        }