Ejemplo n.º 1
0
        public void Insert(string Feature, string CompatibleSchemaVersion, bool IsCurrentVersion)
        {
            AspnetSchemaVersion item = new AspnetSchemaVersion();

            item.Feature = Feature;

            item.CompatibleSchemaVersion = CompatibleSchemaVersion;

            item.IsCurrentVersion = IsCurrentVersion;


            item.Save(UserName);
        }
Ejemplo n.º 2
0
        public void Update(string Feature, string CompatibleSchemaVersion, bool IsCurrentVersion)
        {
            AspnetSchemaVersion item = new AspnetSchemaVersion();

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

            item.Feature = Feature;

            item.CompatibleSchemaVersion = CompatibleSchemaVersion;

            item.IsCurrentVersion = IsCurrentVersion;

            item.Save(UserName);
        }