A careless mistake in ActiveRecord for MySql
I am writing a program for myself by using ActiveRecord. I am an MS SQL Server Develper. So, I just did in a careless mistake. I called a table , User. If you call a table will crash with system table name, we use '[' and ']'. I hardcoded the table name in '[User]' in a Model class for ActiveRecord. I can't create a schema by Active Record. Because in MySql, we use '`'. So, it should be
Code
[ActiveRecord("`User`")] | |
| |
public class User : ActiveRecordBase |
Not
Code
[ActiveRecord("[User]")] | |
| |
public class User : ActiveRecordBase |
Mono 2.2
My Ubuntu VM is not ready for Mono 2.2. My Version 8.10 is only using Mono 1.9.1.I found the best way is to download VMwave from Mono website.
http://www.go-mono.com/mono-downloads/download.html
Everything is configed. Moreover, it got monodevelop 2.0. That saves me the time to compile it from the source.
CSharp.targets erros
After I read the article,I recommeneded before, on code project. I finally solved the problem for CSharp.targets errors. Because I have not installed CF .net powertoys. Now, everythings are alright!
Windows Mobile without Visual Studio
http://www.codeproject.com/KB/mobile/WiMoSansVS.aspx
That is a good article to teach yourself for the mobile application in SharpDevelopment
WPF Programmer is easy to Android Programming
I am learning the application programming on Android OS. I found that is easier to catch up because I am a WPF Programmer. Both of them are using xml to draw UI. That is not a strange thing for myself.