public void CreateApplication(ApplicationInfo applicationInfo)
        {
            UseDataContext(dataContext =>
            {
                var appInfo = dataContext.Applications.FirstOrDefault(a => a.Name == applicationInfo.Name);
                if (appInfo != null)
                {
                    throw new ArgumentException(string.Format("Application '{0}' already exist.", applicationInfo.Name));
                }

                appInfo = new Application();
                appInfo.Name = applicationInfo.Name;
                appInfo.CreatedAt = applicationInfo.CreatedAt;

                dataContext.Applications.InsertOnSubmit(appInfo);
                dataContext.SubmitChanges();
            });
        }
 partial void DeleteApplication(Application instance);
 partial void UpdateApplication(Application instance);
 partial void InsertApplication(Application instance);