예제 #1
0
        public static bool  Insert(Weblog_RecommendTheme WRT)
        {
            BlogDataDataContext BD = new BlogDataDataContext();
            BD.Weblog_RecommendThemes.InsertOnSubmit(WRT); 
            BD.SubmitChanges();
            return true;

        }
 /// <summary>Called before a Weblog_RecommendTheme is deleted.</summary>
 /// <param name="instance">The instance.</param>
 partial void DeleteWeblog_RecommendTheme(Weblog_RecommendTheme instance);
 /// <summary>Called before a Weblog_RecommendTheme is updated.</summary>
 /// <param name="instance">The instance.</param>
 partial void UpdateWeblog_RecommendTheme(Weblog_RecommendTheme instance);
 /// <summary>Called before a Weblog_RecommendTheme is inserted.</summary>
 /// <param name="instance">The instance.</param>
 partial void InsertWeblog_RecommendTheme(Weblog_RecommendTheme instance);