Hi Prasad,
You should be able to accomplish what you want by utilizing the IsReadOnly interception methods that are available on all of the table fields. You could indicate each field is read-only based on the current active state. Here is an example:
partial void Name_IsReadOnly(ref bool result)
{
result = !this.IsActive;
}
partial void Address_IsReadOnly(ref bool result)
{
result = !this.IsActive;
}