This repository contains a .NET project that includes a Change Finder utility. The main purpose of this tool is to track and log changes in data over time. It provides a way to identify and document modifications efficiently.
- Detect changes in data models
- Log changes systematically
- Easy integration into existing .NET projects
To get started with the Change Finder utility:
- Clone the repository:
- Open the project in Visual Studio or any .NET-compatible IDE.
-
Explore the
ChangeFinder.csandChangeLogModel.csfiles to understand the core functionality.
The main class ChangeFinder.cs is responsible for tracking
changes, while ChangeLogModel.cs defines the structure of the
logged changes. You can integrate these classes into your project and
customize them according to your needs.
Feel free to open issues or submit pull requests if you find any bugs or have suggestions for improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
این مخزن شامل یک پروژهی .NET است که ابزار Change Finder را فراهم میکند. هدف اصلی این ابزار، ردیابی و ثبت تغییرات دادهها در طول زمان است. این ابزار به شما کمک میکند تغییرات را بهصورت کارآمد شناسایی و مستند کنید.
- شناسایی تغییرات در مدلهای داده
- ثبت سیستماتیک تغییرات
- امکان یکپارچهسازی آسان با پروژههای موجود در .NET
برای استفاده از ابزار Change Finder:
- مخزن را کلون کنید:
-
برای استفاده از این ابزار شما باید
AttributeLogIfChange را در بالای فیلدها استفاده کنید. -
برای بهبود خوانایی گزارشها، از
Attribute Displayاستفاده کنید.
public class ProductCategory {{ [Key] public int CategoryId {{ get; set; }}[Required(ErrorMessage = "وارد کردن نام گروه الزامیست")] [Display(Name = "نام گروه")] [ShowInReport] [LogIfChange] public string Name {{ get; set; }}
}}
کلاس اصلی ChangeFinder.cs مسئول ردیابی تغییرات است، در حالی
که ChangeLogModel.cs ساختار تغییرات ثبت شده را تعریف میکند.
میتوانید این کلاسها را به پروژهی خود اضافه کرده و بر اساس نیازهای خود
سفارشیسازی کنید.
اگر باگ یا پیشنهادی برای بهبود دارید، خوشحال میشویم که درخواستهای pull یا issues باز کنید.
این پروژه تحت مجوز MIT قرار دارد - جزئیات بیشتر در فایل LICENSE موجود است.