示例#1
0
        public void Insert(Guid PathId, byte[] PageSettings, DateTime LastUpdatedDate)
        {
            AspnetPersonalizationAllUser item = new AspnetPersonalizationAllUser();

            item.PathId = PathId;

            item.PageSettings = PageSettings;

            item.LastUpdatedDate = LastUpdatedDate;


            item.Save(UserName);
        }
示例#2
0
        public void Update(Guid PathId, byte[] PageSettings, DateTime LastUpdatedDate)
        {
            AspnetPersonalizationAllUser item = new AspnetPersonalizationAllUser();

            item.MarkOld();
            item.IsLoaded = true;

            item.PathId = PathId;

            item.PageSettings = PageSettings;

            item.LastUpdatedDate = LastUpdatedDate;

            item.Save(UserName);
        }
示例#3
0
 public bool Destroy(object PathId)
 {
     return(AspnetPersonalizationAllUser.Destroy(PathId) == 1);
 }