Пример #1
0
        public void Insert(int?TxKey, string Request, string Response, string Url, DateTime?Dateoccured)
        {
            ApiCall item = new ApiCall();

            item.TxKey = TxKey;

            item.Request = Request;

            item.Response = Response;

            item.Url = Url;

            item.Dateoccured = Dateoccured;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(int ApiCallKey, int?TxKey, string Request, string Response, string Url, DateTime?Dateoccured)
        {
            ApiCall item = new ApiCall();

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

            item.ApiCallKey = ApiCallKey;

            item.TxKey = TxKey;

            item.Request = Request;

            item.Response = Response;

            item.Url = Url;

            item.Dateoccured = Dateoccured;

            item.Save(UserName);
        }