Ejemplo n.º 1
0
        public void Insert(int ApiType,string Request,string Response,string Url,DateTime? Dateoccured)
        {
            ApiError item = new ApiError();

            item.ApiType = ApiType;

            item.Request = Request;

            item.Response = Response;

            item.Url = Url;

            item.Dateoccured = Dateoccured;

            item.Save(UserName);
        }
Ejemplo n.º 2
0
        public void Update(long ApiErrorsKey,int ApiType,string Request,string Response,string Url,DateTime? Dateoccured)
        {
            ApiError item = new ApiError();
            item.MarkOld();
            item.IsLoaded = true;

            item.ApiErrorsKey = ApiErrorsKey;

            item.ApiType = ApiType;

            item.Request = Request;

            item.Response = Response;

            item.Url = Url;

            item.Dateoccured = Dateoccured;

            item.Save(UserName);
        }