اشتراکها
اشتراکها
نگاهی به ویژگی های جدید 6 #C
The C# language itself has changed little in version 6, the main importance of the release being the introduction of the Roslyn .NET Compiler Platform. However the New features and improvements that have been made to C# are welcome because they are aimed at aiding productivity. Paulo Morgado explains what they are, and how to use them.
من با EF6 از
modelBuilder.Types().Configure(c=>c.Ignore("IsDeleted"));
استفاده کردم ولی خطای زیر رو میگیرم:
You cannot use Ignore method on the property 'IsDeleted' on type 'MyEntity' because this type inherits from the type 'BaseEntity' where this property is mapped. To exclude this property from your model, use NotMappedAttribute or Ignore method on the base type.
اشتراکها
کتاب Transact-SQL
نظرات مطالب
SQL Injection چیست؟
وقتی شما از linq استفاده کنید نفوذ از طریق sql injection به شدت کاهش پیدا میکنه
این لینک رو که توسط آقای نصیری توضیح داده شده مطالعه کنید
امنیت در LINQ to SQL
این لینک رو که توسط آقای نصیری توضیح داده شده مطالعه کنید
امنیت در LINQ to SQL
باسلام، در صورت امکان در مورد این سطر توضیح بفرمایید:
ioc.For<IIdentity>().Use(() => (HttpContext.Current != null && HttpContext.Current.User != null) ? HttpContext.Current.User.Identity : null);
اشتراکها