Saturday, July 20, 2013

LINQ to Entity Error

It didn't work I get error on the Context line 'Ems_KeyVot' is not a member of System.Web.HttpContext.

Also, I don't understand why I should create a Votes class? all the properties in the votes class you suggest are existing properties in the other 2 entities/tables KeyVot & Vot. 

let me show the case in more details:

I have the following 3 entity Contains:

Public Class Ems_Vot
 
  Public Property VotID() As Integer              ' act as primery key
  Public Property FullName() As String
  ' Many other properties
End Class

Then 2nd Entity is:
Public Class Ems_Key
 
  Public Property KeyID() As Integer
  Public Property KeyName() As String
  ' Many other properties
End Class

Then 3rd Entity is: this entity has a relationship with Ems_Key & Ems_Vot
Public Class Ems_KeyVot
  ' this entity should hold all the Vot persons who this Key person responsiple for

 
  Public Property KeyVotID() As Integer              ' act as primery key
  
  Public Property KeyID() As Integer
  Public Overridable Property Keys() As Ems_Key     ' defining the relationship to Ems_Key
  
  Public Property VotID() As Integer
  Public Overridable Property Vot() As Ems_Vot     ' defining the relationship to Ems_Vot

  ' Many other properties
End Class

So in one aspx page it lists the Vot persons who are in KeyVot entity by 
runing a query which should link (join) Ems_KeyVot & Ems_Vot entities & get
the Vot person ID & FullName

1- I need to build that query
2- Also I am wondering, since the relationship already defined should I still need to use the join in
the query?

Thanks

Sunday, November 29, 2009

You must install these Internet adviser software

Dear All,

Internet security is a very important subject, all of us used to serve the Internet daily & visit many websites wither directly or by clicking a web link & most of them we know nothing about them whether they are safe or not, & some of us get infected & suffer because of these sites ... so what shall we do ??!

Out of my experience & research you will find bellow two tested & suggested FREE softwares which I suggest to install on your computer, they will "WARN you about risky websites" by showing an indicator on your browser as soon as you access the site.

The beauty of "WOT" software .. that you can customize the worming messages & actions for example if your children using the same computer then you can customize the action to block the site & not allowing them to access it :-) very nice!

1. "WOT" which called "Web of Trust", download @ www.mywot.com

2. "McAfee SiteAdvisor" download @ www.siteadvisor.com


For any comments, please comment on my blog !
.

Friday, March 13, 2009

ما حقيقة الصورة المزعومة لقبر الرسول صلى الله عليه وسلم؟؟

إنتشرت هذه الصور في الأنترنت ... وعبر المجموعات البريدية .. تحت مسمى قبر الرسول صلى الله عليه وسلم

ولست أرى اي دليل او مرجع يؤكد قولهم .. حتى بعد البحث في الانترنت ان صحة هذه الصورة وجدت اقوالا متضاربة منهم من يؤيد ومنهم من ينفي

أناشد اهل الدين الموثوقين ممن يستطيع اثبات او نفي صحة هذه الصور ان يشارك في هذه الصفحة مع تقديم الدليل او المرجع الموثوق ... وهذا للفائدة العامة ... وجزاكم الله خيرا

اذكر فيما يلي البحث البسيط الذي قمت به مع ذكر رابط الموقع ليستفيد الجميع وللمعرفة

** (فالصورة هي لقبر جلال الدين الرومي الصوفي الشهير الذي أنشأ الطريقة المولوية في تركيا.......)
***** منقول من http://12mu.com/21

** (وقد أحاطت بها السرية والكتمان على مدى التاريخ بسبب المنع للدخول إليها.......)

** (ويذهب أغلب رجال العلم إلى أن قبر الرسول الكريم وصاحبيه كانت لاطنة بالأرض ولم يبن عليها شواهد، وكان قد جاء في بيان مسؤول عن رئاسة الحرمين الشريفين......)

***** منقول من موقع العربية


Thursday, January 29, 2009

IE8 RC1 Against FireFox

Reference to my blog posted on 2008-12-29 .....

Read PCMAG preview about Windows Internet Explorer 8 RC1 "the new RC1 release" against FireFox @ http://www.pcmag.com/article2/0,2817,2328878,00.asp

In my opinion still FireFox wins :-)

Friday, January 2, 2009

The New Year 2009 ....

Here are My Wishes for You...
H ours of happy times with friends and family
A bundant time for relaxation
P rosperity
P lenty of love when you need it the most
Y outhful excitement at lifes simple pleasures

N ights of restful slumber (you know - dont' worry be happy)
E verything you need
W ishing you love and light

Y ears and years of good health
E njoyment and mirth
A angels to watch over you
R embrances of a happy years!
Author Unknown

Wednesday, December 31, 2008

True Fiends are ....

Friends are the flowers in the garden of life,
They help you through times of trouble and strife.

There's nothing like friends to make a heart sing,
True friends will share with you most everything.

They will not abandon you in times of need,
They aren't overcome by envy or greed.
Friends are the icing on life's great big cake.

Real friends will give and allow you to take.
I don't know how I would survive without friends.

They applaud my beginnings and mourn my sad ends.
Tell me, please tell me, what would I do,

If I didn't have a garden full of friends just like YOU!

Monday, December 29, 2008

I'm Evaluating IE8 beta !!

I spend some time evaluating Internet Explorer 8 beta, but still it is not yet good as expected:
- It is faster than IE7
- It creates many problems with other installed programmes (if these programmes depends on the browser compatibility)
- Does not work correctly with sites with old design, & to get the view you have to remember to click the "Compatible Mode" button.
- And I don't understand why Microsoft till now didn't include any "Download Manger" or "Spell Checking" feature in their browsers!!.

Still need more time.. I don't recommend it now.