示例#1
0
		public static int AddUser(SQLiteConnection connection,User user)
		{
			DataProvider dtb = new DataProvider (connection);
			if (dtb.GetUser (user.Id) == null) {
				return dtb.AddUser (user);
			}
			return 0;
		}