The download is free, but we offer some paid services. Support us by subscribing
Delete ads and speed up browsing the library.
The download starts with the click of a button without waiting for the book to be ready.
No limits for download times.
You can upload unlimited books in the library.
Enable readers to download your books without waiting.
Delete ads on the books that you publish.
No problems with download links for your uploaded books.
| Author: | Unspecified author |
| Category: | C# C Sharp [Edit] |
| Language: | Arabic |
| Release Date: | 01 Jan 2008 |
| Pages: | 53 |
| Rank: | 164,482 No 1 most popular |
| Short link: | Copy |
| More books like this book | |
يتناول هذا العمل تقنية LINQ (Language Integrated Query) لتوحيد الاستعلام عن البيانات من مصادر مختلفة مثل قواعد البيانات العلائقية وملفات XML ومصفوفات الكائنات. ويقسم المحتوى إلى ثلاثة فصول رئيسية: الأول مخصص لميزات لغة C#، والثاني لأساسيات LINQ، والثالث لتقنية LINQ To SQL، مع اشتراط معرفة مسبقة بالبرمجة الشبئية (OOP) وبيئة .Net وأساسيات SQL.
يفصل الكتاب المرتكزات التقنية في لغة C# الداعمة لـ LINQ، حيث يستعرض ميزات الإصدار 2.0 مثل الأنواع العامة (Generics)، والمفوضات (Delegates)، والدوال المجهولة (Anonymous Methods)، وجملة yield لإنشاء المكرر (Iterator). كما يشرح ميزات الإصدار 3.0 التي تدفع اللغة نحو النمط الوظيفي، ومنها استنتاج النوع المحلي عبر الكلمة المفتاحية var، وتعبيرات لمدا (Lambda Expressions)، والدوال الإضافية (Extension Methods)، والأنواع المجهولة (Anonymous Type).
يستعرض النص بنية الاستعلام في LINQ من خلال عوامل محددة تبدأ بـ from لتحديد مصدر البيانات الذي يطبق الواجهة IEnumerable
يركز الجزء الخاص بـ LINQ to SQL على تحويل كود C# إلى استعلامات SQL، باستخدام سمات مثل [Table] و[Column] لوصف الجداول، وملفات .dbml لتوليد الكود وإنشاء DataContext. ويتطرق إلى تحسين الأداء عبر CompiledQuery.Compile()، ومعالجة تعارض البيانات عند حدوث ChangeConflictException باستخدام الدالة Refresh بخيار RefreshMode.KeepChanges، أو تحديد سلوك التعارض عبر ConflictMode مثل FailOnFirstConflict.
المنهجية التي يتبعها هذا الكتاب في طرح تقنية LINQ ذكية ومباشرة، فهو لا يكتفي بشرح كيفية كتابة الاستعلامات، بل يربطها بجذورها في لغة C#. يرى الكاتب أن التمكن من هذه التقنية يتطلب أولاً استيعاب التحولات التي طرأت على اللغة، وهو ما يجعل الكتاب يبدو كدليل تدريبي مكثف يركز على «العلم الخالص» بعيداً عن الحشو.
أكثر ما لفت نظري هو التفصيل في ميزات الإصدارين 2.0 و3.0؛ حيث يربط المؤلف بين مفاهيم مثل **الأنواع العامة (Generics)** و**تعبيرات لمدا (Lambda Expressions)** وبين كفاءة الاستعلام. كما يطرح رؤية عملية عند شرح بنية الاستعلام، موضحاً سبب تقديم كلمة `from` على `select` لدعم خاصية IntelliSense في Visual Studio، وهو تفصيل تقني يغيب عن الكثير من الشروحات. وفيما يخص التعامل مع قواعد البيانات، يقدم الكتاب حلولاً واقعية لمعالجة تعارض البيانات عبر استثناء `ChangeConflictException` باستخدام دالة `Refresh` بخيار `KeepChanges`.
تجربة القراءة سريعة ومركزة، فالكتاب لا يميل إلى الإطالة أو التكرار، بل يبني حجته بشكل تراكمي. لكنه في المقابل يطلب من القارئ صبراً في استيعاب المفاهيم الوظيفية للغة إذا لم يكن متمكناً منها، كما أنه يفترض معرفة مسبقة بالبرمجة الشبئية وبيئة .Net، وهو ما قد يجعل البداية صعبة على من يحاول تعلم البرمجة من الصفر.
هذا الكتاب موجه للمبرمجين الذين لديهم أساسيات SQL وC# ويريدون الانتقال إلى مستوى احترافي في استعلام البيانات دون إضاعة وقتهم في مجلدات ضخمة. من يتوقع شرحاً للمبتدئين سيجد المحتوى جافاً ومباشراً، أما من يبحث عن «الزبدة» التقنية فسيجده خياراً موفقاً.
E-books are complementary and supportive of paper books and never cancel it. With the click of a button, the e-book reaches anyone, anywhere in the world.
E-books may weaken your eyesight due to the glare of the screen. Support the book publisher by purchasing his original paper book. If you can access it and get it, do not hesitate to buy it.
Publish your book now for free
We require cookies for this site to function. Please enable them to continue.
نحن نظهر لك هذه الرسالة لأننا نحترم خصوصيتك.
By using this website, you consent to us collecting cookies to provide you with a better user experience,
more details.
You cannot browse the site since you refused the use of cookies, as the site relies primarily on them to work.
Intellectual property is reserved for the authors mentioned on the books and the library is not responsible for the ideas of the authors
Old and forgotten books that have become past to preserve Arab and Islamic heritage are published,
and books that their authors are accepted to published.
The Universal Declaration of Human Rights states: "Everyone has the right freely to participate in the cultural life of the community, to enjoy the arts and to share in scientific advancement and its benefits.Everyone has the right to the protection of the moral and material interests resulting from any scientific, literary or artistic production of which he is the author".