Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "fahad"

Answer

[quote="ismcagdas"]Hi,

  1. override the method CancelDeletionForSoftDelete in your DbContext and remove it's code.
protected override void CancelDeletionForSoftDelete(DbEntityEntry entry)
{

}

What is the file to write this code ?

Thanks,

Answer

Thanks for your reply. I have sample project ( Acme.PhoneBook) for entity ( Phone ) there is no ( Isdeleted column ) and not used the way as you reply >[NotMapped]

public override bool IsDeleted { get; set; }

Kindly explain me How ?

Regards,

Answer

Hi, I could not understand the link you sent. I Do not want to use this field ( isdeleted ) in whole my application for all tables. I want to use hard delete NOT Soft delete.

Thanks,

Question

Hello, I want to delete record permanent. So, I do not want to use ( IsDelete ) column in all my application. How ?

Thanks,

Question

Hello, I want to use Telerik MVC grid in my Project MVC type. How can I add it and use it in project? ( Best Practice )

Regards,

Showing 11 to 15 of 15 entries