Example #1
0
        public void Insert(int ApiErrorsTypeX,string ApiErrorsTypeName)
        {
            ApiErrorsType item = new ApiErrorsType();

            item.ApiErrorsTypeX = ApiErrorsTypeX;

            item.ApiErrorsTypeName = ApiErrorsTypeName;

            item.Save(UserName);
        }
Example #2
0
        public void Update(int ApiErrorsTypeX,string ApiErrorsTypeName)
        {
            ApiErrorsType item = new ApiErrorsType();
            item.MarkOld();
            item.IsLoaded = true;

            item.ApiErrorsTypeX = ApiErrorsTypeX;

            item.ApiErrorsTypeName = ApiErrorsTypeName;

            item.Save(UserName);
        }