示例#1
0
        public void Insert(string DatabaseVersion, DateTime VersionDate, DateTime ModifiedDate)
        {
            AWBuildVersion item = new AWBuildVersion();

            item.DatabaseVersion = DatabaseVersion;

            item.VersionDate = VersionDate;

            item.ModifiedDate = ModifiedDate;


            item.Save(UserName);
        }
示例#2
0
        public void Update(byte SystemInformationID, string DatabaseVersion, DateTime VersionDate, DateTime ModifiedDate)
        {
            AWBuildVersion item = new AWBuildVersion();

            item.SystemInformationID = SystemInformationID;

            item.DatabaseVersion = DatabaseVersion;

            item.VersionDate = VersionDate;

            item.ModifiedDate = ModifiedDate;

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