| Stefan [MSFT] 2006-04-27, 7:27 am |
| Hi Deepak,
please stay out of the database. Direct access to the DB breaks the support
boundaries of MCMS.
Thanks,
Stefan
--
This posting is provided "AS IS" with no warranties, and confers no rights
New to MCMS?
Check out this book: Building Websites Using MCMS: http://tinyurl.com/6zj44
Check out the new book as well: Advanced MCMS development:
http://tinyurl.com/8ugwj
----------------------
"Deepak_DOTNET" <DeepakDOTNET@discussions.microsoft.com> wrote in message
news:60FC7F64-B594-46ED-9D27-080B0946D47A@microsoft.com...[vbcol=seagreen]
> hi,
> I was trying to create a channel using API code which i got from below
> link....
>
> 1)
> http://msdn.microsoft.com/library/d....asp?frame=true
>
> First i tested by creating a new channel in woodgroove site.
>
> I noticed one thing is
> In ChannelCreator.cs file.
> under creatChan() funation ...
> there is line of code called........ thisCTX.COmmitAll();
>
> i just traced code excution in sql profiler just to known what is
> happening
> in database when code is executed.
>
> This will excute series of "Insert" and "select" statments.....
> Among that important is 2 insert statment...1) INSERT INTO NodeRole.....
> 2) INSERT INTO
> NodeProperty.........
>
>
> This is fine..There is no issues....
>
> So when same code(of ChannelCreator.cs) is executes from other
> project(other than woodgrove project) ... then i will get to see only one
> insert statement.....1). INSERT INTO NodeRole..........
>
> Values are not inserting into NodeProperty table.
>
> Why is this happening only in case of using that code in other project
> (other than woodgroove)
>
> Reply me with some soultion...
>
>
>
> Thanks for ur valuable time for me
>
> Thank u
> Deepak
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ............................................................................................................................
>
> "Irfan Yar" wrote:
>
|