裝飾模式: 動態地給一個對象添加一些額外的職責。就增加功能來說,Decorator模式相比產生子類更為靈活。.NET中應用: public abstract class Log{ public abstract void Write(string log);}public class DatabaseLog : Log{ public override void Write(string log) { //......記錄到資料庫中
Supported databases¶Database TemplateMS SQL MSSQL.ttincludeMySql MySql.ttincludePostgreSQLPostgreSQL.ttincludeSybase Sybase.ttincludeSetup¶To generate a data model from your database follow the steps below:Copy T4 templates from the BLToolkit/Source/
SQL> conn sys/sysadmin@keymen as sysdba;已串連。SQL> create table mytest as select * from hr.departments;表已建立。SQL> select count(*) from mytest; COUNT(*)---------- 27SQL> select current_scn from v$database;CURRENT_SCN----------- 8
實驗環境primary server: windows2000 server + oracle 10.0.1.0.2 ORACLE_SID:dgtest ORACLE_HOME: D:\oracle\product\10.1.0\db_1standby server: windows XP pro + oracle 10.0.1.0.2ORACLE_SID:dgtestORACLE_HOME: D:\oracle\product\10.1.0\db_1
前面也寫了不少關於arcgis api for silverlight的應用部落格,但是都比較零散。主要目的也都是記錄下來,以便自己以後隨時拿來用。最近有位朋友問了些有關用arcgis api for silverlight的基礎問題,所以我想有必要寫個系列,和大家一起分享。希望對大家能有點協助。好了,廢話不多說,我們從搭建一個Arcgis Silverlight 應用開始。首先,Visual Studio
今天裝了一個完整綠色版VC++6.0 然後斷點可以設定,但是調試不了,於是上網搜了一下,照著好幾個版本改了一遍,終於成功了,轉載出來分享一下One or more breakpoints cannot be set and have been disabled...錯誤現象:debug中的 step info或者run to cursor合著設定斷點會出現One or morebreakpoints cannot be set and have been disabled.
arcgis 10用得好好的,莫名其妙就出問題了,license能正常啟動,試圖開啟arcmap或是arc catalog的時候就報錯: "Incorrect product version number in the quthorizatio file. Please use an authorization file with the correct version number for this
在看遙感有關的東西時,找來以前的資料進行實際操作,發現有很多檔案是以.adf 為尾碼並有一個名為info的檔案夾與之配套,記得以前閑下來的時候整理電腦,把這個info檔案夾刪掉了,結果使用adf檔案的時候就出錯了。而我早已忘記了這些檔案該要怎麼個用法,心裡所能想到的能馬上拿來用的只有shapefile,img,pix,tif之類。ADF是Arcinfo中Coverage(.*adf)的檔案格式,轉化為SHP檔案,可以使用ArctoolBOX中的Feature class to