|
[挑战自我] 欢迎任何C#疑难杂症(编写完整软件除外)
[复制链接]
|
|

楼主 |
发表于 6-10-2010 10:33 AM
|
显示全部楼层
本帖最后由 chrizyuen2 于 6-10-2010 10:37 AM 编辑
回复 16# hooi1983
Other packages can be installed using the same mechanism described above. The only additional steps are to modify the list of bootstrapper files in Step 2. The easiest way to obtain the necessary entries is to use the Bootstrapper Manifest Generator tool to create a new MSBuild file with the required packages selected. Then save the generated file, open it in a text editor, and copy out the appropriate entries. The Bootstrap Manifest Generator tool can also be used to create your own custom packages that are then installed via the ClickOnce bootstrapper.
http://wix.sourceforge.net/manual-wix3/install_dotnet.htm
SQL CE 4.0 的bootstrapper方法, 我还没有时间深入了解ClinkOnce, 但是我觉得问题不大。
我正在做WIX, 应该会用上三天时间, 这事情, 我相信我能给比较细节的input.
|
|
|
|
|
|
|
|
发表于 6-10-2010 10:44 AM
|
显示全部楼层
回复 21# chrizyuen2
酱麻烦,不能直接将 SQL CE 4.0 的 DLL 放在 bin 吗?题外话,SQL CE 4.0 有没有 Auto Number?
想用,但一直 set 不到,用着 SQL Express 先,不过 customer setup 比较麻烦。 |
|
|
|
|
|
|
|

楼主 |
发表于 6-10-2010 11:03 AM
|
显示全部楼层
回复 22# hooi1983
是麻烦了些, 但是真正的实用性很高, 可以support patch, roll-back, share component, automated build, cross platform targeting. 等等。
如果你单单是校园project , 不需要达成这些requirement  |
|
|
|
|
|
|
|
发表于 6-10-2010 11:41 AM
|
显示全部楼层
回复 23# chrizyuen2
可惜 SQL Express 用不到 SQL Agent |
|
|
|
|
|
|
|
发表于 7-10-2010 04:20 PM
|
显示全部楼层
回复 chrizyuen2
酱麻烦,不能直接将 SQL CE 4.0 的 DLL 放在 bin 吗?题外话,SQL CE 4.0 有没有 Aut ...
hooi1983 发表于 6-10-2010 10:44 AM 
不能, SQL CE 一定要在Client 的电脑内安装。
才 3 MB 左右, 比起 Express 来的话, 我觉得已经很好, 很轻了。 |
|
|
|
|
|
|
|
发表于 7-10-2010 04:26 PM
|
显示全部楼层
回复 25# 宅男-兜着走
SQL CE 有没有 Auto ID? |
|
|
|
|
|
|
|

楼主 |
发表于 7-10-2010 04:39 PM
|
显示全部楼层
你来找渣? 我专业是C#啦 |
|
|
|
|
|
|
|
发表于 7-10-2010 07:23 PM
|
显示全部楼层
回复 26# hooi1983
Strongly-Typed Dataset 支持 SQL CE 的 Auto Increment.
Linq to sql 直接不支持 SQL CE
Ado.net entity framework(Linq to entity) 支持, 但是没 Auto Increment。
那个时候我是用 SQL CE3.5 来开发。(没理想中的好), 某人说 4.0 已经很多都能 support了。
看你吧 |
|
|
|
|
|
|
|
发表于 7-10-2010 07:24 PM
|
显示全部楼层
你来找渣? 我专业是C#啦
chrizyuen2 发表于 7-10-2010 04:39 PM 
资料库是程式的核心,为什么不能问呢?  |
|
|
|
|
|
|
|

楼主 |
发表于 7-10-2010 07:25 PM
|
显示全部楼层
资料库是程式的核心,为什么不能问呢?
宅男-兜着走 发表于 7-10-2010 07:24 PM 
我不这样认为。 |
|
|
|
|
|
|
|

楼主 |
发表于 7-10-2010 07:26 PM
|
显示全部楼层
回复 hooi1983
Ado.net entity framework(Linq to entity) 支持, 但是没 Auto Increment。
宅男-兜着走 发表于 7-10-2010 07:23 PM 
这是错误的。 Linq to EF 可以用auto increment. |
|
|
|
|
|
|
|
发表于 7-10-2010 07:27 PM
|
显示全部楼层
我不这样认为。
chrizyuen2 发表于 7-10-2010 07:25 PM 
我老是说过, 一个程式员如果不会用资料库根本不算是程式员。
不赞同的话
哪请说出你的看法 |
|
|
|
|
|
|
|

楼主 |
发表于 7-10-2010 07:28 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 7-10-2010 07:37 PM
|
显示全部楼层
这是错误的。 Linq to EF 可以用auto increment.
chrizyuen2 发表于 7-10-2010 07:26 PM 
怎样??? 有直接的方法?? |
|
|
|
|
|
|
|
发表于 7-10-2010 07:40 PM
|
显示全部楼层
非商业性程序,完全不需要资料库
chrizyuen2 发表于 7-10-2010 07:28 PM 
至少现在很多软件都需要操作资料库吧?
就连非商业软件的Project, 用电脑来开关灯, 都需要用到资料库来达到软件的完整性。 |
|
|
|
|
|
|
|

楼主 |
发表于 7-10-2010 07:43 PM
|
显示全部楼层
本帖最后由 chrizyuen2 于 7-10-2010 07:45 PM 编辑
至少现在很多软件都需要操作资料库吧?
就连非商业软件的Project, 用电脑来开关灯, 都需要用到资料库 ...
宅男-兜着走 发表于 7-10-2010 07:40 PM 
microsoft office
microsoft windows
firefox, chrome
以上都够出名么?都没有用上SQL资料库
Linq to EF, 直接用就好,没有特别处理
- create table Persona(PersonaID integer primary key autoincrement,Nombre text)
复制代码
- PruebaDBEntities data =newPruebaDBEntities();foreach(int num inEnumerable.Range(1,1000)){Persona p =newPersona(){Nombre="Persona "+ num,Edad= num };
- data.AddToPersona(p);
- data.SaveChanges();Console.WriteLine(p.PersonaID);}
复制代码 |
|
|
|
|
|
|
|
发表于 7-10-2010 08:01 PM
|
显示全部楼层
microsoft office
microsoft windows
firefox, chrome
以上都够出名么?都没有用上SQL资料库
...
chrizyuen2 发表于 7-10-2010 07:43 PM 
Inner-Exception : "Server-generated keys and server-generated values are not supported by SQL Server Compact."
相信我了没 ??-.-|||
如果说 WebBrowser 没资料库的话, 那么请问 Favourite, bookmark 是怎么储存的?XML, SQL LITE? |
|
|
|
|
|
|
|
发表于 7-10-2010 08:19 PM
|
显示全部楼层
The file "history.dat" stores the browsing history (a record of visited pages) in Firefox 2 or below and in Mozilla Suite/SeaMonkey 1.x. (Starting in Firefox 3 and SeaMonkey 2, history.dat is no longer used and the browsing history, as well as bookmarks in Firefox 3, is stored in the file places.sqlite.)
http://aplawrence.com/Web/firefox-sqlite.html
http://kb.mozillazine.org/History.dat
这是有力的证据说 Mozilla 用 SQL Lite 哦。 |
|
|
|
|
|
|
|
发表于 7-10-2010 09:22 PM
|
显示全部楼层
|
|
|
|
|
|
|
发表于 7-10-2010 09:37 PM
|
显示全部楼层
回复 39# hooi1983
不必Install 的话, 至少也要有 SQL CE 的Library 在你的 bin。
offset & fetch next 我以为是什么,原来是 LIMIT |
|
|
|
|
|
|
| |
本周最热论坛帖子
|