Foreign Key Mapping
In C#, foreign key mapping is a pivotal aspect when working with relational databases through Object-Relational Mapping (ORM) frameworks like Entity Framework. Foreign key mappings establish relationships between tables/entities, facilitating data integrity and enabling efficient data retrieval from the databases.
Improve SQL queries while using .NET
Improve SQL queries while using .NET Language-Integrated Query (LINQ) 1. Use IQueryable instead of IEnumerable interface while querying. While using IQueryable, we need to use the ToList() to get the results from DB. Do not use ToList() until you know
Deleting all images from cloudinary through API
Deleting all images from cloudinary through API Cloudinary is a SaaS technology company that provides a cloud-based image and video management solution. Cloudinary API provides us the facility to delete maximum 1000 resources at once. But we may have more
Adding Multiple database server connections in PHPmyAdmin
Adding Multiple database server connections in PHPmyAdmin We can use PHPmyAdmin for multiple database servers by adding them in the settings of PHPmyAdmin. Steps to add a server in the UI of PHPmyAdmin: Step 1: Click on [Settings] button on
How to read image from MS word document and save
How to read .jpg and .png image from a word document and save in a different folder using Java? Each line inside a word document is defined as a different paragraph and each image represents a paragraph. If there is
What is new in Sublime Text 3?
What is new in Sublime Text 3? Sublime is an editor developed by Jon Skinner and Will Bond. The source code of Sublime editor is written in C++ and Python Language. It is very popular among the developers because of
Lookup Vs Master-Detail Relationship
Lookup Vs Master-Detail Relationship There comes a moment when we are confused about whether to create a lookup relationship or a master-detail relationship between two objects (can be a Standard or a Custom object). Below are some use cases for
Using Selenium WebDriver with Chrome browser
Using Selenium WebDriver with Chrome browser Selenium WebDriver is open source tool to automate testing the Web application across many browsers. Every browser has its own driver to execute Selenium WebDriver Scripts. It supports browsers such as Mozilla Firefox, Google
How to use CakePHP Validation class
How to use CakePHP Validation class We can use CakePHP validation functions and speed up development. These functions already follow the correct rules so we don’t need to write custom code. Example: In Controller: $validate = new Validation(); $string =
Some Useful Code Refactoring Techniques Available In Eclipse
Some Useful Code Refactoring Techniques Available In Eclipse 1. RENAMING So this feature allows you to rename variables, classes, methods, packages, folders, and almost any Java identifier. When you rename an identifier, all references to that identifier are also renamed.