<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Zayn Tariq</title>
    <description>The latest articles on DEV Community by Zayn Tariq (@zayn_tariq).</description>
    <link>https://dev.to/zayn_tariq</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1867211%2F79d09fea-3f92-464a-a874-b5a6b374759c.jpg</url>
      <title>DEV Community: Zayn Tariq</title>
      <link>https://dev.to/zayn_tariq</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zayn_tariq"/>
    <language>en</language>
    <item>
      <title>Answer: What is the difference between annotation and decorator?</title>
      <dc:creator>Zayn Tariq</dc:creator>
      <pubDate>Sat, 03 Aug 2024 22:35:34 +0000</pubDate>
      <link>https://dev.to/zayn_tariq/answer-what-is-the-difference-between-annotation-and-decorator-400g</link>
      <guid>https://dev.to/zayn_tariq/answer-what-is-the-difference-between-annotation-and-decorator-400g</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AoTUKOcU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/37317705/what-is-the-difference-between-annotation-and-decorator/78829912#78829912" rel="noopener noreferrer"&gt;
            &lt;span class="title-flare"&gt;answer&lt;/span&gt; re: What is the difference between annotation and decorator?
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Aug  3 '24&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/37317705/what-is-the-difference-between-annotation-and-decorator/78829912#78829912" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oeieW07A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h2-sXgSn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;Annotations in .NET and decorators in Angular both serve to add metadata to code, but they differ in their specific contexts and implementation details.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Annotations in .NET:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Used in .NET languages like C#.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Implemented as attributes enclosed in square brackets.&lt;/li&gt;
&lt;li&gt;Add metadata to classes, methods, properties, etc.&lt;/li&gt;
&lt;li&gt;Influence the behavior…&lt;/li&gt;
&lt;/ol&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/37317705/what-is-the-difference-between-annotation-and-decorator/78829912#78829912" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Answer: EF Core Relationship many tables with one with non using FK</title>
      <dc:creator>Zayn Tariq</dc:creator>
      <pubDate>Wed, 31 Jul 2024 12:23:34 +0000</pubDate>
      <link>https://dev.to/zayn_tariq/answer-ef-core-relationship-many-tables-with-one-with-non-using-fk-10g1</link>
      <guid>https://dev.to/zayn_tariq/answer-ef-core-relationship-many-tables-with-one-with-non-using-fk-10g1</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AoTUKOcU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/78814083/ef-core-relationship-many-tables-with-one-with-non-using-fk/78816160#78816160" rel="noopener noreferrer"&gt;
            &lt;span class="title-flare"&gt;answer&lt;/span&gt; re: EF Core Relationship many tables with one with non using FK
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Jul 31 '24&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/78814083/ef-core-relationship-many-tables-with-one-with-non-using-fk/78816160#78816160" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oeieW07A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h2-sXgSn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;To set up relationships in Entity Framework (EF) using the Fluent API, you need to understand that EF Core requires foreign key properties to establish relationships. However, since you have multiple entities referencing the same table using a non-foreign key field (Owner), you can achieve the desired result by configuring…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/78814083/ef-core-relationship-many-tables-with-one-with-non-using-fk/78816160#78816160" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
    <item>
      <title>Answer: EF Core Relationship many tables with one with non using FK</title>
      <dc:creator>Zayn Tariq</dc:creator>
      <pubDate>Wed, 31 Jul 2024 12:08:11 +0000</pubDate>
      <link>https://dev.to/zayn_tariq/answer-ef-core-relationship-many-tables-with-one-with-non-using-fk-5fbe</link>
      <guid>https://dev.to/zayn_tariq/answer-ef-core-relationship-many-tables-with-one-with-non-using-fk-5fbe</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;div class="ltag__stackexchange--header"&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--AoTUKOcU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackoverflow-logo-b42691ae545e4810b105ee957979a853a696085e67e43ee14c5699cf3e890fb4.svg" alt=""&gt;
          &lt;a href="https://stackoverflow.com/questions/78814083/ef-core-relationship-many-tables-with-one-with-non-using-fk/78816160#78816160" rel="noopener noreferrer"&gt;
            &lt;span class="title-flare"&gt;answer&lt;/span&gt; re: EF Core Relationship many tables with one with non using FK
          &lt;/a&gt;
        &lt;/div&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Jul 31 '24&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/78814083/ef-core-relationship-many-tables-with-one-with-non-using-fk/78816160#78816160" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oeieW07A--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-up-eff2e2849e67d156181d258e38802c0b57fa011f74164a7f97675ca3b6ab756b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--h2-sXgSn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev.to/assets/stackexchange-arrow-down-4349fac0dd932d284fab7e4dd9846f19a3710558efde0d2dfd05897f3eeb9aba.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;To set up relationships in Entity Framework (EF) using the Fluent API, you need to understand that EF Core requires foreign key properties to establish relationships. However, since you have multiple entities referencing the same table using a non-foreign key field (Owner), you can achieve the desired result by configuring…&lt;/p&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    &lt;a href="https://stackoverflow.com/questions/78814083/ef-core-relationship-many-tables-with-one-with-non-using-fk/78816160#78816160" class="ltag__stackexchange--btn" rel="noopener noreferrer"&gt;Open Full Answer&lt;/a&gt;
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
