Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Premium Land with House for Sale
anil1961
Updated:
Friday at 10:15 AM
AWS Certified Solutions Architect-Associate + AWS Certified Cloud Practitioner
Sanjeewani95
Updated:
Aug 19, 2026
🚀 එක පැකේජ් එකයි - මාසෙටම Unlimited Internet! 🌐
sayuru bandara
Updated:
Aug 18, 2026
🎬 CapCut Pro 1 Month Access! LKR 600
sayuru bandara
Updated:
Aug 18, 2026
🚀 Google One AI PRO Plan (Gemini Pro Activation) – 18 Months Access! LKR 2200
sayuru bandara
Updated:
Aug 18, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
WCF ගැන දන්න අය පොඩ්ඩක් එන්ඩෝ....
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="CorD SaC" data-source="post: 21337945" data-attributes="member: 525096"><p><strong>WCF ගැන දන්න අය පොඩ්ඩක් එන්ඩෝ....</strong></p><p></p><p><span style="font-size: 12px">මචන්ලා wcf වලින් service එකක් ලියද්දි එක service එකක් හදලා සේරම ඒක ඇතුලෙ කරන එකද,එහෙම නැතන්ම් එක එක ඒවාට වෙන වෙනම සර්විසස් හදන එකද best practice එක <img src="/styles/default/xenforo/smilies/default/confused.gif" class="smilie" loading="lazy" alt=":confused:" title="Confused :confused:" data-shortname=":confused:" /></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">තේරුනේ නැද්ද.. <img src="/styles/default/xenforo/smilies/default/baffled.gif" class="smilie" loading="lazy" alt=":baffled:" title="Baffled :baffled:" data-shortname=":baffled:" /><img src="/styles/default/xenforo/smilies/default/rofl.gif" class="smilie" loading="lazy" alt=":rofl:" title="ROFL :rofl:" data-shortname=":rofl:" /></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">මෙහෙම හිතමු,Student add,delete,update කරන්ඩ සර්විස් එකක් ලියනවා. </span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">public class StudentService : I</span><span style="font-size: 12px"><span style="font-size: 12px">StudentService </span>{</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"> public void insert(Student sinfo){}</span></p><p> <span style="font-size: 12px"><span style="font-size: 12px">public void update(</span></span><span style="font-size: 12px">Student </span><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">sinfo</span>){}</span></span></p><p> <span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">public void delete(</span></span></span><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">Student </span>sinfo){}</span></span></span></p><p><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px"></span></span></span></p><p><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px"></span></span>}</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px">ඒ වගේ ම books add,delete,update කරන්ඩ සර්විස් එකක් ලියනවා.</span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"></span></p><p><span style="font-size: 12px"><span style="font-size: 12px">public class BookService : I</span><span style="font-size: 12px"><span style="font-size: 12px">BookService </span>{</span></span></p><p><span style="font-size: 12px"><span style="font-size: 12px"></span></span></p><p><span style="font-size: 12px"><span style="font-size: 12px"> public void insert(Book binfo){}</span></span></p><p><span style="font-size: 12px"> <span style="font-size: 12px"><span style="font-size: 12px">public void update(Book </span></span><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">binfo</span>){}</span></span></span></p><p><span style="font-size: 12px"> <span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">public void delete(Book </span></span></span><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px">binfo){}</span></span></span></span></p><p><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px"></span></span></span></span></p><p><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px"><span style="font-size: 12px"></span></span>}</span></span></p><p><span style="font-size: 12px"><span style="font-size: 12px"></span></span></p><p><span style="font-size: 12px">ඉතින් මෙහම මේ 2කට වෙන වෙනම services ලියන එකද හොඳ,එහෙම නැත්නම් සේරම කොමන් service එකක් හදලා ඒකෙ ලියන එකද best practice එක</span></p></blockquote><p></p>
[QUOTE="CorD SaC, post: 21337945, member: 525096"] [b]WCF ගැන දන්න අය පොඩ්ඩක් එන්ඩෝ....[/b] [SIZE=3]මචන්ලා wcf වලින් service එකක් ලියද්දි එක service එකක් හදලා සේරම ඒක ඇතුලෙ කරන එකද,එහෙම නැතන්ම් එක එක ඒවාට වෙන වෙනම සර්විසස් හදන එකද best practice එක :confused: තේරුනේ නැද්ද.. :baffled::rofl: මෙහෙම හිතමු,Student add,delete,update කරන්ඩ සර්විස් එකක් ලියනවා. public class StudentService : I[/SIZE][SIZE=3][SIZE=3]StudentService [/SIZE]{ public void insert(Student sinfo){}[/SIZE] [SIZE=3][SIZE=3]public void update([/SIZE][/SIZE][SIZE=3]Student [/SIZE][SIZE=3][SIZE=3][SIZE=3]sinfo[/SIZE]){}[/SIZE][/SIZE] [SIZE=3][SIZE=3][SIZE=3]public void delete([/SIZE][/SIZE][/SIZE][SIZE=3][SIZE=3][SIZE=3][SIZE=3]Student [/SIZE]sinfo){} [/SIZE][/SIZE]} ඒ වගේ ම books add,delete,update කරන්ඩ සර්විස් එකක් ලියනවා. [/SIZE] [SIZE=3][SIZE=3]public class BookService : I[/SIZE][SIZE=3][SIZE=3]BookService [/SIZE]{ public void insert(Book binfo){}[/SIZE] [SIZE=3][SIZE=3]public void update(Book [/SIZE][/SIZE][SIZE=3][SIZE=3][SIZE=3]binfo[/SIZE]){}[/SIZE][/SIZE] [SIZE=3][SIZE=3][SIZE=3]public void delete(Book [/SIZE][/SIZE][/SIZE][SIZE=3][SIZE=3][SIZE=3]binfo){} [/SIZE][/SIZE]} [/SIZE] ඉතින් මෙහම මේ 2කට වෙන වෙනම services ලියන එකද හොඳ,එහෙම නැත්නම් සේරම කොමන් service එකක් හදලා ඒකෙ ලියන එකද best practice එක[/SIZE] [/QUOTE]
Insert quotes…
Verification
Payakata winadi keeyak tibeda?
Post reply
Top
Bottom